Thanks a lot Designmax. I already have this indicator and all it gives me is one line on the main chart window. I am not very good with MT4 but I was wondering how Drewp was able to get two lines one green and the other red to cross one another and seem to be a perfect mirror of one another. This is what I was hoping to get cos its a more usefull indicator.
Can anybody please help me with how I can get my indicator to do the same?
Can someone please tell me what were the 2 indicators in post #1 (the arrows and the green/purple lines that cross)? I copied and pasted those indicators in the mt4 platform folder, but they don't look like his template? Please advise. TIA!
Thanks for sharing your system!
It seems a good system.Thank you for your sharing
hi,DREWP. please let me know ssl formulae for use in meta stock software.Thanks,
I did not get the green and red line indi yet, help me please ....what kind of indi that one.....????
thanks for shareing,i will try it in my real charts.
this is what you're looking for.
Ea coding needed...if possible
The indicator attached is a MTF DMI indicator. I have noticed that when I run it on a 5 min chart but set on a 15 min time frame that it will check every 5 min and set it's color according to that 5 min block and not repaint at the end of every 15 min. The caveat is that if I close my mt4 or change the time frame and then switch it back the data is then repainted based on the close of the 15 min. Whereas if I hadn't closed the chart it could have 2 reds and a blue for a 15 minute period. After refresh it would have 3 blue if that was the color of the last 15 minute block on the 5 minute chart.
Now I don't know if it is possible but I was hoping an EA could be made with a couple inputs that could manually be put in. Basically I would like to be able to run the EA on any time frame I choose and be able to set the indicator up for another time frame of my choosing along with the DMI_smoothing period.
For example: I could run the EA on a 5 minute time frame and it would trade based on whatever settings I put in for the indicator. Say like a 15 min DMI with 21 period DMI_smoothing or a 30 minute DMI with 16 period DMI_smoothing.
As for the trade execution I would like it to basically be in the market at all times. On candle close the EA should check if the DMI block is red or blue. If it is blue it should be in a buy. If on candle close the block turns red then the EA should close the buy and sell.
Would be great if there was an input to have a hard stop loss. Also one for how many lots to trade per trade. Lastly I think being able to set the time the EA would operate would be great.
Since the EA won't be back test-able, because of the issue with repainting if the chart is changed at all, it will take a lot of forward testing on a demo account to find the best settings but I'm willing to put in the time and share my findings with the community. Anyway...let me know if someone can do this.
Forgot to mention that this indicator calls on the DMI indicator...will attach that as well. Don't have mq4 of the mtf one. Not sure if that's a big deal or not.
here is the mq4 for the mtf_dmi indicator