NexusFi: Find Your Edge


Home Menu

 





From an indicator to trading signal:


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one arjfca with 2 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 ABCTG with 1 posts (1 thanks)
    4. looks_4 simonehuggins with 1 posts (0 thanks)
    1. trending_up 4,632 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

From an indicator to trading signal:

  #1 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Hello

Amateur question:

I have design a new Indicator KS_1_0 that Plot with a cross, the bars coresponding to all conditions. Plot also the take profit target position.

Now, How do use this new indicator (KS_1_0) as a trading signal?

Do I need to copy and use all the same code in a new signal, or i could use the Plots output of the indicator as the
a) Plot1 :entry price
B) Plot2: take profit target price

Any help really appreciated

Martin

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599



arjfca View Post
Hello

Amateur question:

I have design a new Indicator KS_1_0 that Plot with a cross, the bars coresponding to all conditions. Plot also the take profit target position.

Now, How do use this new indicator (KS_1_0) as a trading signal?

Do I need to copy and use all the same code in a new signal, or i could use the Plots output of the indicator as the
a) Plot1 :entry price
B) Plot2: take profit target price

Any help really appreciated

Martin

Typically the easiest way would be to design a function first. The function handles all the internal stuff, then outputs the 'result'. Your actual indicator then just calls the function and doesn't do any computational stuff. This way your signal can also easily call the function.

So, take the 'guts' of your indicator and create a new function instead. Most of the code will be identical. You can look at existing functions to understand how input: section is slightly different (define the type of var in each instance). Then the net result is how the function returns the 'answer'. You can see this by examples.

Then modify your indicator code to just call the function. You can use a var: to store the answer from the indicator, then Plot it.

Your strategy (signal) will look very similar to your indicator code.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

A lesson learned for me.

I got a little bit more understanding of the logic behind the software now. I will work on your proposed solution.

Many Thanks

Martin

Started this thread Reply With Quote
  #5 (permalink)
 simonehuggins 
Sydney, NSW
 
Experience: Beginner
Platform: MultiCharts
Trading: Stocks
Posts: 3 since Feb 2015
Thanks Given: 1
Thanks Received: 0

Mike, just wanted to say thanks.

I searched for exactly this question, and seeing your answer has been a huge help!

thx
sim

Reply With Quote
  #6 (permalink)
 cactus363 
Haslemere, United Kingdom
 
Experience: Intermediate
Platform: Sierra Charts
Broker: CQG
Trading: CL,ES,NQ,KC
Posts: 7 since Oct 2013
Thanks Given: 7
Thanks Received: 1

Hi,
I have a read only indicator (sef file) which plots on my charts and I would like to use it in a signal as part of a strategy.
I dont know the internals of the indicator at all.

Can I get the indicator outputs in a signal if all I know is the indicator name (and inputs names which I can see in the format Indicator window)?
Using Multicharts 64.

Thanks.

Reply With Quote
  #7 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

cactus363,

by default this is not possible, unless the indicator uses a function that does the necessary calculations and makes the values available for the indicator to plot. Your best bet might be to contact the person that developed the indicator and ask him/her if there is such a function or if he/she can turn the indicator into a function that you can use.

Regards,

ABCTG


cactus363 View Post
Hi,
I have a read only indicator (sef file) which plots on my charts and I would like to use it in a signal as part of a strategy.
I dont know the internals of the indicator at all.

Can I get the indicator outputs in a signal if all I know is the indicator name (and inputs names which I can see in the format Indicator window)?
Using Multicharts 64.

Thanks.


Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on May 9, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts