Hello I added this as part of the indicator and when i applied the Bar replay, i expected to see the alert when nasdaq crossed its 9 ema. but it did not. so i am curious if this is feasible.
ForeignSYMBOL=Foreign("COMPX.X","Close") ;
Ema9ofForeignSYMBOL=EMA(ForeignSYMBOl,9);
AlertIf(Cross(ForeignSYMBOL,Ema9ofForeignSYMBOL),"Nasd","simple alert
of 9 ema cross",4);
