TARZAN INDICATOR, edit the alert PLEASE!
Hi everyone! I would edit the alert for indicator TARZAN, which you can find here: TARZAN+ALERT - MQL4 Code Base .
when the line of RSI crosses upper band -> alert buy //
when the line of RSI crosses lower band -> alert sell
Good time of day !
Looking for the lower the indicator with the screen.
Edited the alert.To explain this version was coded differently here awhile back, but the results are the same.
Hello Probie, the white color is functional, the indicator will show white when the LSMA is not sloping, which is almost never.
i have this similar lsma but this one is showing 3 color instead 2 color like the other one . Is the way they calculated different ? could it be modified so when it change color it produce an alert ?
That version (the one with 3 colors) is simply a repainting version (set the period to a very short period and you will see that it will show wrong colors for a slope - like on the example picture with period set to 3 - conditions in that code should allow yellow color only when two values are the same (that can easily be checked in the code conditions), but, due to coding error it is showing that yellow color even when it is not so). Attaching a modified version of the previous (the one that does not repaint) that will show white color, but it will show it in one case and in one case only : when the two consecutive values of the linear regression value (LSMA is in fact linear regression value) are exactly the same. That will happen in a very, very rare occasions (maybe once or twice on a several thousand bars) - it is simply the nature of the comparison and do not be alarmed that you will probably not see a white color
I would avoid that 3 color version for a simple fact that it repaints, but then, you decide. If it was to be corrected, it would have to show the colors the same way as the "nrp" version does
mrtools, Thank you very much. Only a request: can you put again the option to choose the timeframe for menu?
oh i see , is it possible that the 3 color lsma get an alert too somehow i experienced with it the yellow color always came up before the change on green to red and vice versa
It's there, its the first parameter extern string TimeFrame = "current time frame", just change it to whatever time frame you choose.
ok, i tested the indicator in the strategy tester, everything is ok! Thank you very much!
Please enable the necessary setting in your browser, otherwise you will not be able to log in.