NexusFi: Find Your Edge


Home Menu

 





help with bartype for strategy in EL


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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 X Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,583



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
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 X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #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 X Started this thread Reply With Quote
  #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
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,583


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
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 X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on December 4, 2010


© 2026 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 - Downloads - Top
no new posts