写出笑脸和哭脸的选股

2023-02-09 05:58发布

N:=2;SHORT:=12*N;LONG:=29*N;M:=9*N;DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA : EMA(DIFF,M);MACD : 2*(DIFF-DEA), COLORSTICK;0,dotline,colorwhite;{以下处理底背离}N1:=last(MACD<0 N2:=REF(last(MACD>0),N1);{绿柱前红柱天数}N3:=REF(last(MACD<0 N2+N1);{红柱前绿柱天数}MINMD1:=LLV(MACD,N1);MINMD3: REF(LLV(MACD,N3+N2),N1);MINDIFF1:=LLV(DIFF,N1);MINDIFF3: REF(LLV(DIFF,N2+N3),N1);MINDEA1:=LLV(DEA,N1);MINDEA3: REF(LLV(DEA,N2+N3),N1);股价L1:=LLV(L,N1);股价L3: REF(LLV(L,N2+N3),N1);股价LL:=LLV(L,N1+N2+N3);绿柱缩短:>REF(MACD,1) AND REF(MA
 解锁全文需 1  财富值,免费注册即送20财富值!