通达信涨停支撑主图指标公式

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);
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;




来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

VAR1赋值:IF(1,(C/1日前的C-1)*100>9.5,0),NODRAW
VAR2赋值:(REF(C,上次VAR1距今天数)+REF(开盘价,上次VAR1距今天数))/2
VAR3赋值:1日前的C
VAR4赋值:IF((VAR3-C)*100/VAR3>=10-0.01*100/VAR3,1,0)
STICKLINE(C,VAR2,REF(最低价,上次VAR1距今天数),4,0),COLOR002828
DRAWKLINE(最高价,开盘价,最低价,C)
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR1时,在开盘价和收盘价之间画柱状线
当满足条件VAR4时,在开盘价和收盘价之间画柱状线
当满足条件1时,在横轴0纵轴0.07位置书写文字
输出日线13:C的13日简单移动平均,COLORFFFFFF
IF(日线13>1日前的日线13,日线13,DRAWNULL),画红色
输出日线21:C的21日简单移动平均,COLOR00CCCC, 线宽为2
VAR5赋值:C>日线21 AND 日线13>1日前的日线13 AND VAR4!=1
VAR6赋值:(C的3日简单移动平均+C的6日简单移动平均+C的12日简单移动平均+C的24日简单移动平均)/4
VAR7赋值:SMA(C-VAR3和0较大值,2,1)/SMA(C-VAR3的绝对值,2,1)*100
VAR8赋值:SMA(C-VAR3和0较大值,14,1)/SMA(C-VAR3的绝对值,14,1)*100
VAR9赋值:VAR7< 45 AND 1日前的VAR7>45
VAR10:=VAR7< 20 AND 1日前的VAR7>20
VAR11:=统计13日满足VAR1的天数>=1
最低价的4日[3日权重]移动平均
VAR13:=VAR9 OR VAR10 AND VAR11
VAR14:=1日前的VAR9 OR 1日前的VAR10 AND 最低价< C的5日简单移动平均 AND VAR11 AND VAR5 AND C>REF(最低价,上次VAR1距今天数)
VAR15:=成交额/成交量/100
STICKLINE(VAR13 AND NOT(VAR1),开盘价,C,2.4,0),COLOR550055
STICKLINE(VAR13 AND NOT(VAR1),开盘价,C,1.8,0),COLOR880088
STICKLINE(VAR13 AND NOT(VAR1),开盘价,C,1.2,0),COLORAA00AA
STICKLINE(VAR13 AND NOT(VAR1),开盘价,C,0.6,0),COLORCC00CC
当满足条件VAR13时,在开盘价和C之间画柱状线
STICKLINE(VAR14 AND NOT(VAR1),开盘价,C,1.2,0),COLOR000088
STICKLINE(VAR14 AND NOT(VAR1),开盘价,C,0.6,0),COLOR0000AA
STICKLINE(VAR14 AND NOT(VAR1),开盘价,C,0.3,0),COLOR0000CC
当满足条件VAR14时,在开盘价和C之间画柱状线
当满足条件VAR14时,在VAR12*0.995和VAR12之间画柱状线
当满足条件VAR14时,在最低价*0.98和23之间画图标
当满足条件 到最后交易的周期< 21 AND VAR1=1时,在VAR15和VAR15之间画柱状线
当满足条件C时,在VAR2和VAR2之间画柱状线
STICKLINE(C,REF(最低价,上次VAR1距今天数),REF(最低价,上次VAR1距今天数),2,0),COLORCCCC00


指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图