Hi, I have some code which leaves my limit order there for 10 straight bars. But I noticed the limit order doesn’t have SL or target levels so Im afraid if the market crashes say and takes out my limit the SL is too slow to get entered? is there a way to place a limit order with an associated SL level at the same time? Also that will help with reducing margin requirements
On another topic, is the multiple time frames working yet? I saw a recent video from prorealtime that said it is? and read the blog post.
But when I put in the code: timeframe(daily),the code window has an error suggesting this is not correct coding and hence it isn’t working yet would be my conclusion?
MTF is working but only on the demo platform for testing at the moment.
You will need at least two TIMEFRAME’s in your code. One on a slower time frame than the default time frame that you run the code on. So for example:
1
2
3
4
5
timeframe(daily)
(yourcode)
timeframe(default)
(yourcode)
….and then you can run that code on any time frame faster than daily. try to run it on daily, weekly or monthly and you will get an error. All time frames used must also be able to divide into each other so 15 minutes and 10 minutes together will not work.