The indior attached is a MTF DMI indior. I have noticed that when I run it on a 5 minute chart but put on a 15 min timeframe that it will check every 5 minutes and set it's colour based on that 5 minutes block and not repaint in the conclusion of each 15 min. The caveat is that if I close my mt4 or modify the time frame change it back the information is subsequently repainted based on this 15 min's close. Whereas if I hadn't shut the chart it might have two reds and a blue to get a period. After refresh it would have 3 blue if that was the colour of the previous 15 minute block around the 5 minute chart.
Now I really don't know if it is possible but I had been hoping an EA may be produced with a few inputs which could manually be put in. Basically I'd like to be able to run the EA and be able to set the indior up for a different time framework of my picking.
As an example : I could run the EA on a 5 minute time frame and it would trade based on whatever settings I put in for your indior. Say just like a 15 minute DMI with a 30 minute DMI with 16 period DMI_smoothing or 21 period DMI_smoothing.
As for your trade implementation I'd like it to basically maintain the market in any way times. If the DMI block is blue or red on candle near the EA should check. If it is blue it ought to be at a buy. If on candle near the cube turns red then the EA should close the buy and sell.
Would be great if there was an input signal to have a hard stop loss. Also one for many lots to exchange each trade. I think being able to set the time that the EA would operate would be great.
Considering that the EA will not be back test-able, due to the issue with repainting if the chart is altered in any way, it is going to take a lot of forward testing on a demo account to obtain the best settings but I'm willing to spend time and discuss my findings with the neighborhood. Anyway. . .let me know when someone can do this.
https://www.forexforum.co.za/attachm...0507700536.ex4