通达信月光之夜,黄柱买入信号指标副图源码

月光之夜 公式如下 : 

短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
四线归零买:IF((短期<=6 AND 中期<=6 AND 中长期<=6 AND 长期<=6),-30,0),STICK,COLOR0000FF,LINETHICK3;
白穿红线买:=IF(((CROSS(短期,长期)AND 长期< 20)),-30,0),STICK,COLOR00FF00,LINETHICK3;
20;

选股公式如下 : 

AA:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
AAB:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
选股:(AA<=6 AND AAA<=6 AND AAB<=6 AND AAD<=6);