Hello everyone I wanted to know as I tried in vain to program a code .. I ask for help!
For my strategy I use a MACD indicator and I would like it to automatically buy 1 buy contract when it turns green and 2 in sell when it turns red. I use 5 minutes candles and my problem is that I can’t code the conditions in order to ignore the whole algorithm if it changes more than 1 time per minute. I would just like to make contracts only 1 time per minute in case of instability and also I can not set the purchase during the candle but only at the end of the bar.
As of this version of ProOrder it is not possible to use multiple Time Frames within a strategy (while ProScreen support this feature).
Until MTF is supported, which should be within a few months, you wlll have to use either a 5-minute chart or a 1-minute chart, in both cases you will not be able to tell what happens in lower TFs.
i don t think it is a multitime frame strategy.. my “strategy” is to watch the MACD and buy when the candle of the macd becomes green and to sell when the candle becomes red