漂亮板主图源码
B1:=MA(C,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3); 个股红:=B2>SMA2; 个股绿:=B2<SMA2; IF(个股红,B2,DRAWNULL),COLORRED,LINETHICK2; IF(个股绿,B2,DRAWNULL),COLORGREEN,LINETHICK1; 王子控盘线:HHV(MA(B2,1),13),COLORYELLOW,DOTLINE;
HM1:=ABS((3.48*C+H+L)/4-EMA(C,20)/EMA(C,20)); HM2:=DMA((2.15*C+L+H)/4,HM1); 王子强弱线:EMA(HM2,200)*1.118,LINETHICK2,COLORMAGENTA; J1:=MA(C,5); J2:=MA(C,10); J3:=MA(C,30); J4:=MA(C,60); J5:=MA(C,120); 时间:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5))); 前高:=REF(HHV(C,200),时间); PT:=REFDATE(前高,DATE);
N:=20; MIDA:=MA(C,N); VART1:=POW((C - MIDA),2); VART2:=MA(VART1,N); VART3:=SQRT(VART2); UPPERA:=(MIDA + (2 * VART3)); LOWERA:=(MIDA - (2 * VART3)); 长线:=MA(C,133),LINETHICK2,COLORC0C0C0; XX:=HHV(EMA(H,75),100); 中线:=IF((XX > REF(XX,1)),XX,DRAWNULL),LINETHICK2,COLORCYAN; 短线:=EMA(REF(MIDA,1),2),LINETHICK2,COLORFF6EC7; 平台:IF((短线 > 长线),PT,DRAWNULL),COLORRED,LINETHICK2;
ZF:=(((C - REF(C,1)) / REF(C,1)) * 100); S1:=(((L > REF(H,1)) OR (ZF > 9.6)) OR (REF(ZF,1) > 9.6)); 强势预选:=((CROSS(C,PT) AND (S1 > 0)) * 8); 漂亮2:=(((((((((((SMA((MAX((C - (REF(C,1))),0)),24,1)) / (SMA(ABS((C - (REF(C,1)))),24,1))) * 100) > 65) AND (((((EMA(C,5)) * 7) + ((EMA(C,10)) * 3)) / 10) > (EMA(C,13)))) AND ((EMA(C,13)) > (EMA(C,55)))) AND (((MA(C,26)) + (2 * (STD(C,26)))) > (REF(((MA(C,26)) + (2 * (STD(C,26)))),1)))) AND (C > (EMA((((H + L) + C) / 3),13)))) AND (DYNAINFO(7) > 0)) AND ((MA(C,5)) > (MA(C,10)))) AND ((CROSS((HHV(C,5)),((MA(H,10)) * (1 + (5 / 100))))) AND ((((C - (REF(C,1))) / (REF(C,1))) * 100) > 7.5))) ; 漂亮板:=强势预选 AND 漂亮2; DRAWTEXT(漂亮板,L*0.96,'漂亮板')COLORFF00FF; STICKLINE(漂亮板,(C+O)/2,CLOSE,5,0),COLORRED; STICKLINE(漂亮板,O,(C+O)/2,5,0),COLOR0099FF; STICKLINE(漂亮板,CLOSE,OPEN,0,0),COLORWHITE; DRAWICON(漂亮板,L,1);
TJ:=HHVBARS(V,60)+1; 年平台:REF(H,BARSSINCE(BACKSET(ISLASTBAR,TJ)));
漂亮板主副图/股预警源码
A1:=SUM((IF((C > (REF(C,1))),V,(IF((C < (REF(C,1))),(0 - V),0)))),0); A2:=SUMBARS(V,CAPITAL); A3:=(IF((C > (LLV(C,A2))),1,(0 - 1))) * (IF((A1 > (LLV(A1,A2))),1,(0 - 1))); A4:=(COUNT(((IF((A3 = (0 - 1)),1,0)) = 1),8)) > 2; A5:=(((C - (DMA((((((3 * H) + L) + O) + (2 * C)) / 7),(((((V / (SUM(AMOUNT,13))) / AMOUNT) / V) / 100) / 100)))) / (DMA((((((3 * H) + L) + O) + (2 * C)) / 7),(((((V / (SUM(AMOUNT,13))) / AMOUNT) / V) / 100) / 100)))) * 100) < (0 - 18); A6:=((C - (MIN(((REF(C,5)) * 0.865),((REF(C,21)) * 0.772)))) / C) < 0.009; A7:=(A4 AND A5) AND A6; A8:=((((O < (EMA(C,5))) AND (C = H)) AND ((C / O) >= 1.105)) AND ((V / CAPITAL) >= 0.019)) AND ((V / CAPITAL) <= 0.2); A9:=A8 AND ((COUNT(A8,5)) = 1); A10:=((((((((((((MA(C,3)) > (REF((MA(C,3)),1))) AND ((MA(C,5)) > (REF((MA(C,5)),1)))) AND ((MA(C,10)) > (REF((MA(C,10)),1)))) AND ((V / 240) > ((((REF(V,30)) * 1.2) / 240) * 1.5))) AND (C > (L * 1.059))) AND (C > (REF((MA(C,3)),1)))) AND (REF(C,1))) AND ((MA(C,5)) > (REF((MA(C,5)),1)))) AND ((MA(C,10)) > (REF((MA(C,10)),1)))) AND ((MA(C,20)) > (REF((MA(C,20)),1)))) AND ((MA(V,5)) > (REF((MA(V,5)),1)))) AND (((MA(C,5)) - (MA(C,10))) <= 0.579); A11:=FILTER(A10,5); 漂亮5:(A7 OR A8) AND A11,LINESTICK,COLORYELLOW; DRAWTEXT(漂亮5,0.8,'▲←超级强'),COLORRED;
漂亮板副图/股预警源码
J1:=MA(C,5); J2:=MA(C,10); J3:=MA(C,30); J4:=MA(C,60); J5:=MA(C,120); 时间X:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5))); 前高X:=REF(HHV(C,200),时间X); PT:=REFDATE(前高X,DATE); N:=20; MIDA:=MA(C,N); VART1:=POW((C - MIDA),2); VART2:=MA(VART1,N); VART3:=SQRT(VART2); UPPERA:=(MIDA + (2 * VART3)); LOWERA:=(MIDA - (2 * VART3)); 长期趋势:=MA(C,133); XX:=HHV(EMA(H,75),100); 中期趋势:=IF((XX > REF(XX,1)),XX,DRAWNULL); 短期趋势:=EMA(REF(MIDA,1),2); 注意止损:=MA(C,11); 上轨:=EMA(REF(UPPERA,1),2); 主升持股:=IF(EXIST((C > PT),10),上轨,DRAWNULL); ZF:=(((C - REF(C,1)) / REF(C,1)) * 100); S1:=(((L > REF(H,1)) OR (ZF > 9.6)) OR (REF(ZF,1) > 9.6)); 攻击力1:((CROSS(C,PT) AND (S1 > 0)) * 2),LINETHICK2,COLORYELLOW; 连续攻击:((((C > PT) AND (MA(C,5) > PT)) AND (C > 注意止损)) * 6),COLOR0099FF,LINETHICK2; 短线强势:(((C > PT) AND (C > 主升持股)) * 4),LINETHICK2,COLORRED;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
漂亮板主图源码
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
个股红:=B2>SMA2;
个股绿:=B2<SMA2;
IF(个股红,B2,DRAWNULL),COLORRED,LINETHICK2;
IF(个股绿,B2,DRAWNULL),COLORGREEN,LINETHICK1;
王子控盘线:HHV(MA(B2,1),13),COLORYELLOW,DOTLINE;
HM1:=ABS((3.48*C+H+L)/4-EMA(C,20)/EMA(C,20)); HM2:=DMA((2.15*C+L+H)/4,HM1);
王子强弱线:EMA(HM2,200)*1.118,LINETHICK2,COLORMAGENTA;
J1:=MA(C,5);
J2:=MA(C,10);
J3:=MA(C,30);
J4:=MA(C,60);
J5:=MA(C,120);
时间:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5)));
前高:=REF(HHV(C,200),时间);
PT:=REFDATE(前高,DATE);
N:=20;
MIDA:=MA(C,N);
VART1:=POW((C - MIDA),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPERA:=(MIDA + (2 * VART3));
LOWERA:=(MIDA - (2 * VART3));
长线:=MA(C,133),LINETHICK2,COLORC0C0C0;
XX:=HHV(EMA(H,75),100);
中线:=IF((XX > REF(XX,1)),XX,DRAWNULL),LINETHICK2,COLORCYAN;
短线:=EMA(REF(MIDA,1),2),LINETHICK2,COLORFF6EC7;
平台:IF((短线 > 长线),PT,DRAWNULL),COLORRED,LINETHICK2;
ZF:=(((C - REF(C,1)) / REF(C,1)) * 100);
S1:=(((L > REF(H,1)) OR (ZF > 9.6)) OR (REF(ZF,1) > 9.6));
强势预选:=((CROSS(C,PT) AND (S1 > 0)) * 8);
漂亮2:=(((((((((((SMA((MAX((C - (REF(C,1))),0)),24,1)) / (SMA(ABS((C - (REF(C,1)))),24,1))) * 100) > 65) AND (((((EMA(C,5)) * 7) + ((EMA(C,10)) * 3)) / 10) > (EMA(C,13)))) AND ((EMA(C,13)) > (EMA(C,55)))) AND (((MA(C,26)) + (2 * (STD(C,26)))) > (REF(((MA(C,26)) + (2 * (STD(C,26)))),1)))) AND (C > (EMA((((H + L) + C) / 3),13)))) AND (DYNAINFO(7) > 0)) AND ((MA(C,5)) > (MA(C,10)))) AND ((CROSS((HHV(C,5)),((MA(H,10)) * (1 + (5 / 100))))) AND ((((C - (REF(C,1))) / (REF(C,1))) * 100) > 7.5))) ;
漂亮板:=强势预选 AND 漂亮2;
DRAWTEXT(漂亮板,L*0.96,'漂亮板')COLORFF00FF;
STICKLINE(漂亮板,(C+O)/2,CLOSE,5,0),COLORRED;
STICKLINE(漂亮板,O,(C+O)/2,5,0),COLOR0099FF;
STICKLINE(漂亮板,CLOSE,OPEN,0,0),COLORWHITE;
DRAWICON(漂亮板,L,1);
TJ:=HHVBARS(V,60)+1;
年平台:REF(H,BARSSINCE(BACKSET(ISLASTBAR,TJ)));
漂亮板主副图/股预警源码
A1:=SUM((IF((C > (REF(C,1))),V,(IF((C < (REF(C,1))),(0 - V),0)))),0);
A2:=SUMBARS(V,CAPITAL);
A3:=(IF((C > (LLV(C,A2))),1,(0 - 1))) * (IF((A1 > (LLV(A1,A2))),1,(0 - 1)));
A4:=(COUNT(((IF((A3 = (0 - 1)),1,0)) = 1),8)) > 2;
A5:=(((C - (DMA((((((3 * H) + L) + O) + (2 * C)) / 7),(((((V / (SUM(AMOUNT,13))) / AMOUNT) / V) / 100) / 100)))) / (DMA((((((3 * H) + L) + O) + (2 * C)) / 7),(((((V / (SUM(AMOUNT,13))) / AMOUNT) / V) / 100) / 100)))) * 100) < (0 - 18);
A6:=((C - (MIN(((REF(C,5)) * 0.865),((REF(C,21)) * 0.772)))) / C) < 0.009;
A7:=(A4 AND A5) AND A6;
A8:=((((O < (EMA(C,5))) AND (C = H)) AND ((C / O) >= 1.105)) AND ((V / CAPITAL) >= 0.019)) AND ((V / CAPITAL) <= 0.2);
A9:=A8 AND ((COUNT(A8,5)) = 1);
A10:=((((((((((((MA(C,3)) > (REF((MA(C,3)),1))) AND ((MA(C,5)) > (REF((MA(C,5)),1)))) AND ((MA(C,10)) > (REF((MA(C,10)),1)))) AND ((V / 240) > ((((REF(V,30)) * 1.2) / 240) * 1.5))) AND (C > (L * 1.059))) AND (C > (REF((MA(C,3)),1)))) AND (REF(C,1))) AND ((MA(C,5)) > (REF((MA(C,5)),1)))) AND ((MA(C,10)) > (REF((MA(C,10)),1)))) AND ((MA(C,20)) > (REF((MA(C,20)),1)))) AND ((MA(V,5)) > (REF((MA(V,5)),1)))) AND (((MA(C,5)) - (MA(C,10))) <= 0.579);
A11:=FILTER(A10,5);
漂亮5:(A7 OR A8) AND A11,LINESTICK,COLORYELLOW;
DRAWTEXT(漂亮5,0.8,'▲←超级强'),COLORRED;
漂亮板副图/股预警源码
J1:=MA(C,5);
J2:=MA(C,10);
J3:=MA(C,30);
J4:=MA(C,60);
J5:=MA(C,120);
时间X:=BARSLAST((((CROSS(J2,J1) AND (J2 > J3)) AND (J3 > J4)) AND (J4 > J5)));
前高X:=REF(HHV(C,200),时间X);
PT:=REFDATE(前高X,DATE);
N:=20;
MIDA:=MA(C,N);
VART1:=POW((C - MIDA),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPERA:=(MIDA + (2 * VART3));
LOWERA:=(MIDA - (2 * VART3));
长期趋势:=MA(C,133);
XX:=HHV(EMA(H,75),100);
中期趋势:=IF((XX > REF(XX,1)),XX,DRAWNULL);
短期趋势:=EMA(REF(MIDA,1),2);
注意止损:=MA(C,11);
上轨:=EMA(REF(UPPERA,1),2);
主升持股:=IF(EXIST((C > PT),10),上轨,DRAWNULL);
ZF:=(((C - REF(C,1)) / REF(C,1)) * 100);
S1:=(((L > REF(H,1)) OR (ZF > 9.6)) OR (REF(ZF,1) > 9.6));
攻击力1:((CROSS(C,PT) AND (S1 > 0)) * 2),LINETHICK2,COLORYELLOW;
连续攻击:((((C > PT) AND (MA(C,5) > PT)) AND (C > 注意止损)) * 6),COLOR0099FF,LINETHICK2;
短线强势:(((C > PT) AND (C > 主升持股)) * 4),LINETHICK2,COLORRED;