SQX:=C-MACLOSE,13*100;DIF:EMAMASQX,7,1,LINETHICK1;DEA:EMADIF,7,LINETHICK1;MACD:DIF-DEA*2,COLORSTICK;红柱持股:IFMACD>REFMACD,1,MACD,0,STICK,COLORRED,LINETHICK1;绿柱持币:IFMACD=0;二次金叉:IFCROSSDIF,DEAANDDEACLOSEANDDIF>REFDIF,A1+1ANDCROSSDIF,DEA,0.1,0,COLORRED,POINTDOT;STICKLINE底背离,40,30,8,1,COLORRED;DRAWLINEA1=0,DEA,底背离,DEA,0,COLORRED;A2:=BARSLASTREFCROSSDEA,DIF,1;顶背离:REFCLOSE,A2+1DIFANDCROSSDEA,DIF,COLORGREEN;DRAWLINEA2=0,DEA,顶背离,DEA,0,COLORGREEN;A3:=CROSSDIF,DEAANDDEA<0;零下二次金叉:IFFILTERCOUNTA3,21=2,10,0.05,0,COLORWHITE,POINTDOT;STICKLINE零下二次金叉,45,55,8,1,COLORWHITE;DRAWICONCROSSDIF,DEA,DIF,1;DRAWICONCROSSDEA,DIF,DIF,2;以上公式把剪头改成了笑脸和哭脸~看看是不是你要的吧。
赵香汝2019-12-21 18:41:52