NexusFi: Find Your Edge


Home Menu

 





Enter and Exit market using different chart resolution


Discussion in MultiCharts

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




 
Search this Thread

Enter and Exit market using different chart resolution

  #1 (permalink)
 vhanded 
Kuala Lumpur Malaysia
 
Experience: Beginner
Platform: NinjaTrader
Trading: Futures
Posts: 8 since Nov 2014
Thanks Given: 3
Thanks Received: 1

Hi, I am testing a strategy, and would like to see what can I do to enhance the profit/minimize lose.

So this strategy A is using resolution of 3 minutes. When an entry signal happens, it will enter long/short. However, I want to use the same strategy A with resolution of 1 minute as exit signal.

Previously, I coded this in NinjaTrader by Add() a same instrument with different resolution, and the OnBarUpdate() will be fired for every 1 minute and every 3 minutes, and I can differentiate this current OnBarUpdate() call is fired by the 1 or 3 minutes bars.

Now, in Multicharts.net, I had tried a few approaches:
1) Add a new instrument using BeginLoadData(), but the historical data I got is not sync with CalcBar()... It might work in real time, but not backtest.
2) Use CustomInstrument, it seems sync with time, but if my main chart is 1 min, CalcBar() is only being called every 1 minute, same as the main chart. However, I can refer to the CustomInstrument object for 3 minute data, so for every 3 minutes in main chart, I will refer CustomInstrument and calculate signal.

Any smarter ways of approaching this issue? Sorry if my question is not clear enough, I will try my best to explain again.

Started this thread Reply With Quote




Last Updated on May 1, 2015


© 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