通达信涨停支撑主图指标 源码 贴图
2024-12-20 09:53:00来源:本站整理浏览:367
通达信涨停支撑主图指标 源码 贴图
VAR1:=IF(1,(C/REF(C,1)-1)*100>9.5,0),NODRAW;
VAR2:=(REF(C,BARSLAST(VAR1))+REF(OPEN,BARSLAST(VAR1)))/2;
VAR3:=REF(C,1);{公式网WWW.GPXIAZAI.COM}
VAR4:=IF((VAR3-C)*100/VAR3>=10-0.01*100/VAR3,1,0);
STICKLINE(C,VAR2,REF(LOW,BARSLAST(VAR1)),4,0),COLOR002828;
DRAWKLINE(HIGH,OPEN,LOW,C);
STICKLINE(VAR1,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(VAR1,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(VAR1,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(VAR1,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(VAR1,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(VAR1,OPEN,CLOSE,0.1,0),COLOR33EEEE;
STICKLINE(VAR4,OPEN,CLOSE,2.6,0),COLORE50000;
DRAWTEXT_FIX(1,0,0.07,0,'杨 春 荣 2 0 1 2 涨 停 支 撑 主 图'),COLORMAGENTA,LINETHICK4;
日线13:MA(C,13),COLORFFFFFF;IF(日线13>REF(日线13,1),日线13,DRAWNULL),COLORRED;
日线21:MA(C,21),COLOR00CCCC,LINETHICK2;
VAR5:=C>日线21 AND 日线13>REF(日线13,1) AND VAR4!=1;
VAR6:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
VAR7:=SMA(MAX(C-VAR3,0),2,1)/SMA(ABS(C-VAR3),2,1)*100;
VAR8:=SMA(MAX(C-VAR3,0),14,1)/SMA(ABS(C-VAR3),14,1)*100;
VAR9:=VAR7< 45 AND REF(VAR7,1)>45;VAR10:=VAR7< 20 AND REF(VAR7,1)>20;
VAR11:=COUNT(VAR1,13)>=1;VAR12:=SMA(LOW,4,3);VAR13:=VAR9 OR VAR10 AND VAR11;
VAR14:=REF(VAR9,1) OR REF(VAR10,1) AND LOW< MA(C,5) AND VAR11 AND VAR5 AND C>REF(LOW,BARSLAST(VAR1));
VAR15:=AMOUNT/VOL/100;STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,2.4,0),COLOR550055;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,1.8,0),COLOR880088;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,1.2,0),COLORAA00AA;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,0.6,0),COLORCC00CC;
STICKLINE(VAR13,OPEN,C,0.1,0),COLOREE00EE;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,1.2,0),COLOR000088;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,0.6,0),COLOR0000AA;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,0.3,0),COLOR0000CC;
STICKLINE(VAR14,OPEN,C,0.1,0),COLOR0000EE;
STICKLINE(VAR14,VAR12*0.995,VAR12,5,0),COLOR00FF80;
DRAWICON(VAR14,LOW*0.98,23);
STICKLINE(CURRBARSCOUNT< 21 AND VAR1=1,VAR15,VAR15,2.5,0),COLOR00FFFF;
STICKLINE(C,VAR2,VAR2,2,0),COLOR0000FF;
STICKLINE(C,REF(LOW,BARSLAST(VAR1)),REF(LOW,BARSLAST(VAR1)),2,0),COLORCCCC00;
VAR2:=(REF(C,BARSLAST(VAR1))+REF(OPEN,BARSLAST(VAR1)))/2;
VAR3:=REF(C,1);{公式网WWW.GPXIAZAI.COM}
VAR4:=IF((VAR3-C)*100/VAR3>=10-0.01*100/VAR3,1,0);
STICKLINE(C,VAR2,REF(LOW,BARSLAST(VAR1)),4,0),COLOR002828;
DRAWKLINE(HIGH,OPEN,LOW,C);
STICKLINE(VAR1,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(VAR1,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(VAR1,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(VAR1,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(VAR1,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(VAR1,OPEN,CLOSE,0.1,0),COLOR33EEEE;
STICKLINE(VAR4,OPEN,CLOSE,2.6,0),COLORE50000;
DRAWTEXT_FIX(1,0,0.07,0,'杨 春 荣 2 0 1 2 涨 停 支 撑 主 图'),COLORMAGENTA,LINETHICK4;
日线13:MA(C,13),COLORFFFFFF;IF(日线13>REF(日线13,1),日线13,DRAWNULL),COLORRED;
日线21:MA(C,21),COLOR00CCCC,LINETHICK2;
VAR5:=C>日线21 AND 日线13>REF(日线13,1) AND VAR4!=1;
VAR6:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
VAR7:=SMA(MAX(C-VAR3,0),2,1)/SMA(ABS(C-VAR3),2,1)*100;
VAR8:=SMA(MAX(C-VAR3,0),14,1)/SMA(ABS(C-VAR3),14,1)*100;
VAR9:=VAR7< 45 AND REF(VAR7,1)>45;VAR10:=VAR7< 20 AND REF(VAR7,1)>20;
VAR11:=COUNT(VAR1,13)>=1;VAR12:=SMA(LOW,4,3);VAR13:=VAR9 OR VAR10 AND VAR11;
VAR14:=REF(VAR9,1) OR REF(VAR10,1) AND LOW< MA(C,5) AND VAR11 AND VAR5 AND C>REF(LOW,BARSLAST(VAR1));
VAR15:=AMOUNT/VOL/100;STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,2.4,0),COLOR550055;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,1.8,0),COLOR880088;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,1.2,0),COLORAA00AA;
STICKLINE(VAR13 AND NOT(VAR1),OPEN,C,0.6,0),COLORCC00CC;
STICKLINE(VAR13,OPEN,C,0.1,0),COLOREE00EE;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,1.2,0),COLOR000088;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,0.6,0),COLOR0000AA;
STICKLINE(VAR14 AND NOT(VAR1),OPEN,C,0.3,0),COLOR0000CC;
STICKLINE(VAR14,OPEN,C,0.1,0),COLOR0000EE;
STICKLINE(VAR14,VAR12*0.995,VAR12,5,0),COLOR00FF80;
DRAWICON(VAR14,LOW*0.98,23);
STICKLINE(CURRBARSCOUNT< 21 AND VAR1=1,VAR15,VAR15,2.5,0),COLOR00FFFF;
STICKLINE(C,VAR2,VAR2,2,0),COLOR0000FF;
STICKLINE(C,REF(LOW,BARSLAST(VAR1)),REF(LOW,BARSLAST(VAR1)),2,0),COLORCCCC00;
- 上一篇公式:通达信主力大单吸筹副图指标 源码 贴图
- 下一篇公式:通达信梨花剑主图指标 源码 贴图