通达信:=IF((AMOUNT/C)/(HHV(AMOUNT,13)/HHV(C,13))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,13)/HHV(C,13))*100);{高手网www.gs6699.com}
龙头首阴战法:EMA((LLV(L,5)+(((EMA(((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C),3)-((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C))*5)*0.8+LLV(L,5))+((EMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C,3)-((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*0.8*C))*5))/3,5),COLORYELLOW;gggggaa:=(CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21)) * 1.2 * CLOSE;
gggggaa1:=EMA(gggggaa,3);
gggggaa2:=EMA(gggggaa,5);
gggggaa3:=EMA(gggggaa,7);
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,10,0),COLOR0000AA;
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,7,0),COLOR0000BB;
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,6,0),COLOR0000CC;
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,5,0),COLOR0000DD;
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,4,0),COLOR0000EE;
STICKLINE(gggggaa1 >= gggggaa2,gggggaa3,gggggaa1,3,0),COLOR0000FF;STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,10,0),COLORFF0000;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,7,0),COLORFF3300;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,6,0),COLORFF5500;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,5,0),COLORFF7700;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,4,0),COLORFF9900;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,3,0),COLORFFBB00;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,2,0),COLORFFDD00;
STICKLINE(gggggaa1 <= gggggaa2,gggggaa3,gggggaa1,1,0),COLORFFFF00;
T1:=gggggaa2 >= gggggaa3 AND gggggaa1 < REF(gggggaa1,1);
T2:=gggggaa2 < gggggaa3 AND gggggaa1 > REF(gggggaa1,1);
STICKLINE(T1,gggggaa1,gggggaa3,10,0),COLORFFBB11;
STICKLINE(T1,gggggaa1,gggggaa3,7,0),COLORFFCC22;
STICKLINE(T1,gggggaa1,gggggaa3,5,0),COLORFFDD33;
STICKLINE(T1,gggggaa1,gggggaa3,3,0),COLORFFEE44;
STICKLINE(T1,gggggaa1,gggggaa3,1,0),COLORFFFF55;
STICKLINE(T2,gggggaa1,gggggaa3,10,0),COLOR338FDD;
STICKLINE(T2,gggggaa1,gggggaa3,8,0),COLORFF00FF;
STICKLINE(T2,gggggaa1,gggggaa3,1,0),COLOR00DDFF;
STICKLINE(T2,gggggaa1,gggggaa3,8,0),COLOR00AAFF;
STICKLINE(T2,gggggaa1,gggggaa3,6.6,0),COLOR00BBFF;
STICKLINE(T2,gggggaa1,gggggaa3,4.4,0),COLOR00CCFF;
STICKLINE(T2,gggggaa1,gggggaa3,3.3,0),COLOR00DDFF;
STICKLINE(T2,gggggaa1,gggggaa3,2.2,0),COLOR00EEFF;