Can you or one of the other instructors help me out with creating the code for this indicator to let me know when an arrow has been detected? I've been trying for two weeks and I can't get this thing to work.
if(iCustom(NULL,0,"LWMA-Crossover_Signal",5,6,0,0) > 0 || iCustom(NULL,0,"LWMA-Crossover_Signal",5,6,1,0) > 0) Alert("We have a crossover!");
Parameters for iCustom:
parmeter 1 :the symbol - NULL for current symbol.
parmeter 2 : time frame - 0 for current time frame.
parmeter 3 : indicator name - "LWMA-Crossover_Signal".
parmeter 4 : LWMA parameter 1, FasterLWMA = 5.
parmeter 5 : LWMA parameter 2, SlowerLWMA = 6.
parmeter 6 : buffer number (0 to 7) = 0 or 1 (CrossUp or CrossDown buffers).
parmeter 7 : bar index - 0 for the current bar.