Hi I was trying to write an afl that wouldgive me
a buy if todays close is higher that the close for the last 20 periods
thought this would do it but no luck
filter =close>ema(close,10) AND
close>ema(close,30) and v> 50000 ;
buy= close>hhvbars( close,20 ) AND
filter;sell = llvbars( close,10 )< Close;
|