编写要求:
N内突破(跌%4以上的}大阴线.
公式在线网解答:
{参数N 1 999 80}
ZF:(C-REF(C,1))/REF(C,1)*100,NODRAW;
跌4:ZF<-4,NODRAW;
TT:=BARSLAST(跌4);
AA:=IF(TT<20,跌4,0);
跌4处开盘:=REF(O,BARSLAST(跌4));
STICKLINE(CURRBARSCOUNT<=N,跌4处开盘,跌4处开盘,4,0),COLORWHITE;
STICKLINE(跌4,O,C,2,0),COLORGREEN;