Hi
I have decided to try and code an indicator that gives a signal eveytime you have 2 down closes and an up close above a MA.
I get the indicator to plot the signal for the first part but can't get it to plot a close above the MA.
Can somebody please look at the enclosed code and help me fix the problem so that I can learn.
Obviously the next question for me is how to plot the reverse.
Any help will be greatly appreciated
Regards
Silver
I have decided to try and code an indicator that gives a signal eveytime you have 2 down closes and an up close above a MA.
I get the indicator to plot the signal for the first part but can't get it to plot a close above the MA.
Can somebody please look at the enclosed code and help me fix the problem so that I can learn.
Obviously the next question for me is how to plot the reverse.
Any help will be greatly appreciated
Regards
Silver
Attached File(s)
MA-Indi v1.mq4
2 KB
|
378 downloads