KH
I would have an EA or a separate indicator that called your existing one
If you put something like this into the start() function of a new EA or indicator that may be enough
double dUpperLine = iCustom(NULL, 0, "Demark_trendbluekbyiAngle_1", 0, 1) double dLowerLine = iCustom(NULL, 0, "Demark_trendbluekbyiAngle_1", 1, 1) if(Close[1] > dUpperLine) { Alert("Going Up"); Print("Going Up"); PlaySound("yankee doodle.wav"); } if(Close[1] < dLowerLine ) { Alert("Going Down"); Print("Going Down"); PlaySound("whistle dixie.wav"); }
-BB-
BarrowBoy:
KH
I would have an EA or a separate indicator that called your existing one
If you put something like this into the start() function of a new EA or indicator that may be enough
-BB-
i have no idea about programming, would you please help BarrowBoy .
khalidhassan:
i have no idea about programming, would you please help BarrowBoy .
i have no idea about programming, would you please help BarrowBoy .
You have to have an idea - as this is a programming forum
If you dont want to code then this is not the place for you - other than to offer to hire someone...
-BB-
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
you will do me a favor if you could add alert to this attached indicator, the indicator is known(Demark Trend Lines), it drows 2 trend lines on the chart
1-the upper red trend line (down trend)
2- the lower blue trend line (up trend)
we just need the indicator to give alert when a bar closed above the red trend line or below the blue trend line.(OR at least) give alert when the price penetrates any of those trend lines.