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


Using Indicator inside Signal/Strategy
Updated: Views / Replies:4,763 / 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 100,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

 
 
Thread Tools
 

Using Indicator inside Signal/Strategy

 
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.

 
 
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.

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,777 since Apr 2013
Thanks: 283 given, 1,061 received


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

The following user says Thank You to ABCTG for this post:
 
 
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.

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,777 since Apr 2013
Thanks: 283 given, 1,061 received

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

 
 
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

The following user says Thank You to SPMC for this post:
 
 
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!

 
 
Elite Member
Colorado
 
Futures Experience: Advanced
Platform: MultiCharts
Broker/Data: IB & Iqfeed
Favorite Futures: ES , CL
 
sptrader's Avatar
 
Posts: 541 since Apr 2010
Thanks: 1,088 given, 691 received

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

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

 



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



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

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri
 

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

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


All times are GMT -4. The time now is 01:47 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-09-19 in 0.14 seconds with 14 queries on phoenix