NexusFi: Find Your Edge


Home Menu

 





help with bartype for strategy in EL


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,339 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

help with bartype for strategy in EL

(login for full post details)
  #1 (permalink)
 
JVentura's Avatar
 JVentura 
Ventura, California, United St
 
Experience: Intermediate
Platform: Multicharts
Broker: Open E Cry (OEC)
Trading: RLM, 6E
Posts: 20 since Oct 2010
Thanks Given: 38
Thanks Received: 16

I want to play with a strategy using the 3 line break bartype, which I apply indicators to, how do you specify the bartype in a strategy for testing can I just do a bartype=10 or does someone have an example?

Thanks,
James

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Volume profile TradeStation
EasyLanguage Programming
Searching for CurrentMonthOHL Indicator
NinjaTrader
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
Request for MACD with option to use different MAs for fa …
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
37 thanks
Deaddogs Stock Trading
27 thanks
GFIs1 1 DAX trade per day journal
26 thanks
Supertradersams Thread Journal on NQ/MNQ
24 thanks
Leaving CFD trading and learning futures
11 thanks

(login for full post details)
  #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
Posts: 50,233 since Jun 2009
Thanks Given: 33,105
Thanks Received: 101,350



JVentura View Post
I want to play with a strategy using the 3 line break bartype, which I apply indicators to, how do you specify the bartype in a strategy for testing can I just do a bartype=10 or does someone have an example?

Thanks,
James

If I am understanding you correctly, then just add the strategy to your Line Break chart and it will use that. You do not need to define the bar type in the strategy 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


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive 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
The following user says Thank You to Big Mike for this post:
(login for full post details)
  #4 (permalink)
 
JVentura's Avatar
 JVentura 
Ventura, California, United St
 
Experience: Intermediate
Platform: Multicharts
Broker: Open E Cry (OEC)
Trading: RLM, 6E
Posts: 20 since Oct 2010
Thanks Given: 38
Thanks Received: 16


Big Mike View Post
If I am understanding you correctly, then just add the strategy to your Line Break chart and it will use that. You do not need to define the bar type in the strategy code.

Mike

Thanks Mike, but how can I backrest that then? Am I missing something obvious?

Follow me on Twitter Started this thread Reply With Quote
(login for full post details)
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,233 since Jun 2009
Thanks Given: 33,105
Thanks Received: 101,350


JVentura View Post
Thanks Mike, but how can I backrest that then? Am I missing something obvious?

On chart:

1. Insert Study
2. Change to Signals
3. Add the Signal(s)
4. Format Signals
5. Properties -> Set your commission and slippage, etc
6. Format -> Set intrabar order generation, etc

Now, from here when you hit Close you can view the performance report by going to "View -> Strategy Performance report" on the main MultiCharts window. Or you can optimize the strategy by clicking Optimize in the Format Signals window.

Both will use the current chart source, instrument, bar type, lookback etc.

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


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive 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
The following user says Thank You to Big Mike for this post:





Last Updated on December 4, 2010


© 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