副图公式源码支持: 手机/电脑
WRa:100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));
WRb:100*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55));
WRc:100*(HHV(H,89)-C)/(HHV(H,89)-LLV(L,89));
DRAWICON(WRa>98 AND WRb>98 AND WRc>98,95,1);
DRAWICON((WRa>98 AND WRb>98) OR (WRa>98 AND WRc>98) OR (WRb>98 AND WRc>98),100,17);
DRAWICON(WRa=0 AND WRb=0 AND WRc=0,20,15);
趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
STICKLINE(趋势线<=10,10,趋势线,1,0),COLORLIBLUE;
STICKLINE(CROSS(趋势线,10),10,趋势线,2,0),COLORRED;
DRAWICON(CROSS(80,趋势线),85,2);
低位:10,COLORWHITE;
中位:50,COLORBLUE;
高位:80,COLORWHITE;
GUP1:=LLV(LOW,10);
GUP2:=HHV(H,25);
股价线:=EMA((C-GUP1)/(GUP2-GUP1)*4,4);
建仓:STICKLINE(CROSS(股价线,0.3),50,5,2,0),COLOR00CCFF,LINETHICK1;
STICKLINE(CROSS(股价线,0.3),30,5,2,0),COLORRED,LINETHICK1;
清仓:STICKLINE(CROSS(3.5,股价线),60,100,2,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(3.5,股价线),80,100,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(股价线,0.3),45,'买'),COLORFFAA66;
DRAWTEXT(CROSS(3.5,股价线),75,'卖'),COLORFFFFCC;
选股公式源码
{选股公式一:买}
GUP1:=LLV(LOW,10);
GUP2:=HHV(H,25);
股价线:=EMA((C-GUP1)/(GUP2-GUP1)*4,4);
买:CROSS(股价线,0.3);
{选股公式二:红箭头图标}
WRa:=100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));
WRb:=100*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55));
WRc:=100*(HHV(H,89)-C)/(HHV(H,89)-LLV(L,89));
红箭头图标:WRa>98 AND WRb>98 AND WRc>98; |