编写要求:
www.ttchagu.com网解答:
网友求助:
请老师帮忙将 黄柱出现时 写个盘中预警公式!先谢谢啦!
input:N(34,1,100),M(3,1,100);
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
AAA:=EMA(A1,5);
STICKLINE(A1>AAA,A1,AAA,7,0),color0000ff;
STICKLINE(A1<AAA,A1,AAA,7,0),COLORWHITE;
AB:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4;
BB:=REF(AB=LLV(AB,21),1) AND AB>REF(AB,1) AND AB<10;
STICKLINE(BB,0,AAA,8,0),Color00FFFF;
解答如下:
AB:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
XG:REF(AB=LLV(AB,21),1) AND AB>REF(AB,1) AND AB<10;