Hi, I am writing my first exploration to alert for 5-day high or lows using realtime feed. the pseudo code for this is as follows
Set interval - Daily in AA window Set Date – Today / last n bars=1 in AA window 5H= H> REF(HHV,5), -1); 8H= H> REF(HHV,8), -1); 5L= L< REF(LLV,5), -1); 8L= L< REF(LLV,8), -1); BUY= 5H OR 8H; SELL=5L OR 8L; FILTER= (BUY OR SELL); >>>ADDCOLUMN to display which range is broken I am unable to figure out how to add a column in by exploration window titled "Signal" which lists "5H" / "5L"/"8H"/"8L" against each stock that passes filter. I did check addcolumn related discussions in the group but found nothing that helps. Appreciate some guidance here. Thanks vigi
