Trend Alert Need to add Symbol
FxTrader_: Is it passble to specify which Symbol the code can look in? for ex: I need it to look in "AUDCAD" Pair.
- Do not trade multiple currencies
- You can't use any predefined variables, can't use the tester, must poll (not OnTick,) and usually other problems.
- Code it to trade the chart pair only. Look at the others if you must.
- Then put it on other charts to trade the other pairs. Done.
if ((ObjectType(name)==OBJ_TREND) || (ObjectType(name)==OBJ_HLINE)) { ObjectSet(name,OBJPROP_PRICE3,0);
Why are you setting price three? A Trend line only has two and a horizontal line only has one. Have you verified that that works?- Objects are only on the current chart. You can't read others.
Hi All,
Is it passble to specify which Symbol the code can look in? for ex: I need it to look in "AUDCAD" Pair.