Using Indicator inside Signal/Strategy - EasyLanguage Programming | futures io social day trading
futures io futures trading


Using Indicator inside Signal/Strategy
Updated: Views / Replies:3,168 / 7
Created: by ivanyu Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Using Indicator inside Signal/Strategy

  #1 (permalink)
Trading Apprentice
Hong Kong
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts
Favorite Futures: N225
 
Posts: 15 since Jul 2013
Thanks: 0 given, 0 received

Using Indicator inside Signal/Strategy

Hi,

I am learning both NinjaTrader C# and MultiCharts EasyLanguage.

NinjaTrader allows me to code a strategy by simply referencing an indicator inside the strategy, i.e. the plot values of the indicator can be used inside the strategy as variables, and if I want the strategy to also plot the indicator without explicitly adding the indicator itself, I just add the indicator within the strategy code. This will prevent the potential mistake of supplying different params to the indicator and the strategy, were they added to chart separately.

In MultiCharts EasyLanguage, it seems that I cannot do something similar?

What I have learnt so far, is, write a function that generates the values, then write an indicator to plot the values, then write a signal that uses the values of the function.

However, if there is an existing indicator that plots, can I use the plot values in a MultiCharts strategy like in Ninja?

Thanks a lot for the help.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 853 received
Forum Reputation: Legendary


Hi ivanyu,

you can't plot from within a strategy directly, that is a shortcoming of Easylanguage. There are two possible workarounds that come to my mind:
  1. Use trendlines to mimic the plots within the strategy code
  2. Use and indicator that accesses the running strategy and plot the values. This can be done via EasyLanguage Collections.

Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Trading Apprentice
Hong Kong
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts
Favorite Futures: N225
 
Posts: 15 since Jul 2013
Thanks: 0 given, 0 received

Thank you very much for the reply.

I am just worried that there is always the danger of mistakenly supplying different params to the function, from within the indicator and from within the strategy, since they need to be added separately.

Reply With Quote
 
  #5 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 853 received
Forum Reputation: Legendary

With either of the two approaches you won't have these problem. If the trendlines are being plotted from the strategy there is no indicator with different settings.
In the latter approach the indicator would read the values from the strategy and doesn't have any inputs at all.
By the way it just came to my mind instead of feeding the indicator the strategy values via EL Collections, simply feed the inputs only.
This will make sure the results are similar (make sure the maximum number of bars the studies reference are the same!) as the inputs are alike.

Regards,
ABCTG

Reply With Quote
 
  #6 (permalink)
Elite Member
GER
 
Futures Experience: Advanced
Platform: MC
Favorite Futures: ES
 
Posts: 144 since May 2011
Thanks: 11 given, 211 received

Plotting Directly From Within Strategies

Plotting Directly From Within Strategies with Tradestation - TLPlot

Reply With Quote
The following user says Thank You to SPMC for this post:
 
  #7 (permalink)
Trading Apprentice
Hong Kong
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts
Favorite Futures: N225
 
Posts: 15 since Jul 2013
Thanks: 0 given, 0 received

Thank you very much for this suggestion!

Reply With Quote
 
  #8 (permalink)
Elite Member
Colorado
 
Futures Experience: Advanced
Platform: MultiCharts
Broker/Data: IB & Iqfeed
Favorite Futures: ES , CL
 
sptrader's Avatar
 
Posts: 533 since Apr 2010
Thanks: 1,080 given, 668 received

Multicharts is going to add the "indicator within a strategy" feature in an upcoming version..(ver 9 0 I think)..

Reply With Quote
The following user says Thank You to sptrader for this post:

Reply



futures io > > > > > Using Indicator inside Signal/Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
From an indicator to trading signal: arjfca EasyLanguage Programming 6 May 9th, 2016 04:21 AM
Inside bar indicator code help? hector24 NinjaTrader 4 November 12th, 2012 05:45 PM
Reading Feltom's momentum from inside my strategy pakricard Elite Automated Trading 10 January 22nd, 2012 01:18 PM
Higher Time Frame Inside-Outside Bar Indicator ??? philipp NinjaTrader 2 September 5th, 2011 04:33 PM
Inside Bar Indicator Mickey Caine EasyLanguage Programming 3 March 22nd, 2011 04:21 AM


All times are GMT -4. The time now is 07:00 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-11 in 0.10 seconds with 19 queries on phoenix via your IP 54.92.194.75