回调 支撑 布林135主图 有了此图不赚钱 你不适合炒股
DRAWBAND(MA(CLOSE,13),RGB(55,0,0),MA(CLOSE,34),RGB(0,91,0));
DRAWBAND(MA(CLOSE,13),RGB(155,50,50),MA(CLOSE,55),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
EMA13:MA(C,13),COLORWHITE,LINETHICK1;
EMA34:=MA(C,34),COLORYELLOW;
EMA55:MA(C,55),COLORGREEN;
前20内高:=HHV(C,20);
压力线:CONST(REF(前20内高,2)),COLORRED,DOTLINE,LINETHICK1;
DRAWKLINE(H,O,L,C);
BOLL:MA(C,24),COLORGREEN,LINETHICK1;
UPPER:BOLL+2*STD(C,24),COLORMAGENTA,DOTLINE;
LOWER:BOLL-2*STD(C,24),COLORYELLOW,DOTLINE;
IF(BOLL<REF(BOLL,1),BOLL,DRAWNULL),COLORGREEN,LINETHICK2;
IF(BOLL>REF(BOLL,1),BOLL,DRAWNULL),COLORRED,LINETHICK2;
F:=100*(C-REF(C,1))/REF(C,1);
博尔:=IF(C<REF(O,1) AND F<0,1,0);
P1:=博尔;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
S:=CROSS(CROSS(三日最高,C),0.6);
B0:=CROSS(CROSS(C,三日最低),0.5);
DRAWICON(B0,LOW*0.98,34);
DRAWICON(S,H*1.01,35);
D3X31:=REF(EMA(C,3),3),COLORWHITE;
FJ1:DRAWICON(CROSS(C,D3X31),L*0.999,13);
RSVG:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KG:=SMA(RSVG,3,1);
DG:=SMA(KG,3,1);
JG:=3*KG-2*DG,COLORFF00FF;
MAE3:=MA(CLOSE,3),DOTLINE;
DIFF:=(EMA(JG,12) - EMA(JG,26));
DEA:=EMA(DIFF,3);
MACDG:=2*(DIFF-DEA);
DRAWICON(CROSS(KG,DG) AND KG<=20,MAE3,12);
DRAWICON(CROSS(DG,KG),MAE3,14);
DRAWICON(CROSS(KG,DG) AND KG<=45 AND KG>20,MAE3,23);
VAR11:=(CLOSE*2+HIGH+LOW)/4;
VAR21:=EMA(VAR11,13)-EMA(VAR11,34);
VAR31:=EMA(VAR21,5);
VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3A:=((REF(VAR2A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR5A:=((REF(VAR4A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR6A:=((REF(VAR5A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR7A:=((REF(VAR6A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR8A:=((REF(VAR7A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR9A:=((REF(VAR8A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARAA:=((REF(VAR9A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARBA:=((REF(VARAA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARCA:=((REF(VARBA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARDA:=((REF(VARCA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAREAA:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VARFA:=((REF(VAREAA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR10A:=((REF(VARFA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR11A:=((REF(VAR10A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR12A:=((REF(VAR11A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR13A:=((REF(VAR12A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR14A:=((REF(VAR13A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR15A:=((REF(VAR14A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR16A:=((REF(VAR15A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR17A:=((REF(VAR16A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR18A:=((REF(VAR17A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR19A:=((REF(VAR18A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR1A:=(REF((((((((((((VAREAA OR VARFA) OR VAR10A) OR VAR11A) OR VAR12A) OR VAR13A) OR VAR14A) OR VAR15A) OR VAR16A) OR VAR17A) OR VAR18A) OR VAR19A),1) AND VAR2A);
STICKLINE(VAR1A,O,O+(C-O)/3,4,0),COLOR1029FF;
STICKLINE(VAR1A,O,O+(C-O)/3,3.4,0),COLOR1040FF;
STICKLINE(VAR1A,O,O+(C-O)/3,2.8,0),COLOR1083FF;
STICKLINE(VAR1A,O,O+(C-O)/3,2.2,0),COLOR10ABFF;
STICKLINE(VAR1A,O,O+(C-O)/3,1.6,0),COLOR10D0FF;
STICKLINE(VAR1A,O,O+(C-O)/3,1,0),COLOR10FFFF;
STICKLINE(VAR1A,O,O+(C-O)/3,0.3,0),COLOR00FFFF;
AA:=(REF((((((((((((VAR2A OR VAR3A) OR VAR4A) OR VAR5A) OR VAR6A) OR VAR7A) OR VAR8A) OR VAR9A)
OR VARAA) OR VARBA) OR VARCA) OR VARDA),1) AND VAREAA);
STICKLINE(AA,O,O+(C-O)/3,4.3,0),COLOR009900;
STICKLINE(AA,O,O+(C-O)/3,3.2,0),COLOR00AA00;
STICKLINE(AA,O,O+(C-O)/3,2.4,0),COLOR00BB00;
STICKLINE(AA,O,O+(C-O)/3,1.7,0),COLOR00CC00;
STICKLINE(AA,O,O+(C-O)/3,1.1,0),COLOR00DD00;
STICKLINE(AA,O,O+(C-O)/3,0.5,0),COLOR00EE00;
STICKLINE(AA,O,O+(C-O)/3,0.2,0),COLOR00FF00;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:'),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.11,0,0,'所属地区:'),COLORWHITE;
DRAWTEXT_FIX(1,0.16,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.22,0.00,0,'主题投资:'),COLORWHITE;
DRAWTEXT_FIX(1,0.27,0.00,0,EXTERNSTR(0,1)),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.16,0,'神光益盟:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.16,0,EXTERNSTR(0,4)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.00,0.25,0,'业绩报告:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.258,0,EXTERNSTR(0,2)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.00,0.33,0,'千股千评:'),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0.33,0,EXTERNSTR(0,3)),COLORMAGENTA;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
DRAWBAND(CLOSE的13日简单移动平均,RGB(55,0,0),CLOSE的34日简单移动平均,RGB(0,91,0))
DRAWBAND(CLOSE的13日简单移动平均,RGB(155,50,50),CLOSE的55日简单移动平均,RGB(83,123,68))
DRAWKLINE(H,O,L,C)
输出EMA13:C的13日简单移动平均,画白色,LINETHICK1
EMA34赋值:C的34日简单移动平均,画黄色
输出EMA55:C的55日简单移动平均,画绿色
前20内高赋值:20日内C最高值
输出压力线:CONST(2日前的前20内高),画红色,DOTLINE,LINETHICK1
DRAWKLINE(H,O,L,C)
输出BOLL:C的24日简单移动平均,画绿色,LINETHICK1
输出UPPER:BOLL+2*C的24估算标准差,画洋红色,DOTLINE
输出LOWER:BOLL-2*C的24估算标准差,画黄色,DOTLINE
IF(BOLL<1日前的BOLL,BOLL,DRAWNULL),画绿色, 线宽为2
IF(BOLL>1日前的BOLL,BOLL,DRAWNULL),画红色, 线宽为2
F赋值:100*(C-1日前的C)/1日前的C
博尔赋值:IF(C<1日前的O AND F<0,1,0)
P1赋值:博尔
三日最低赋值:EMA((4日前的L+3日前的L+2日前的L)/3,3)
三日最高赋值:EMA((4日前的H+3日前的H+2日前的H)/3,3),画白色
S赋值:三日最高上穿C,0.6)
B0赋值:C上穿三日最低,0.5)
当满足条件B0时,在最低价*0.98和34之间画图标
当满足条件S时,在H*1.01和35之间画图标
D3X31赋值:3日前的C的3日指数移动平均,画白色
FJ1:DRAWICON(C上穿D3X31,L*0.999,13)
RSVG:=(CLOSE-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
RSVG的3日[1日权重]移动平均
KG的3日[1日权重]移动平均
JG赋值:3*KG-2*DG,COLORFF00FF
MAE3赋值:CLOSE的3日简单移动平均,DOTLINE
DIFF赋值:(JG的12日指数移动平均 - JG的26日指数移动平均)
DEA赋值:DIFF的3日指数移动平均
MACDG赋值:2*(DIFF-DEA)
DRAWICON(KG上穿DG AND KG<=20,MAE3,12)
DRAWICON(DG上穿KG,MAE3,14)
DRAWICON(KG上穿DG AND KG<=45 AND KG>20,MAE3,23)
VAR11赋值:(CLOSE*2+最高价+最低价)/4
VAR21赋值:VAR11的13日指数移动平均-VAR11的34日指数移动平均
VAR31赋值:VAR21的5日指数移动平均
VAR2A赋值:((CLOSE > 1日前的CLOSE) AND (CLOSE > 2日前的CLOSE))
VAR3A赋值:((1日前的VAR2A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR4A赋值:((1日前的VAR3A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR5A赋值:((1日前的VAR4A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR6A赋值:((1日前的VAR5A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR7A赋值:((1日前的VAR6A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR8A赋值:((1日前的VAR7A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR9A赋值:((1日前的VAR8A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VARAA赋值:((1日前的VAR9A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VARBA赋值:((1日前的VARAA AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VARCA赋值:((1日前的VARBA AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VARDA赋值:((1日前的VARCA AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAREAA赋值:((CLOSE < 1日前的CLOSE) AND (CLOSE < 2日前的CLOSE))
VARFA:=((1日前的VAREAA AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR10A赋值:((1日前的VARFA AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR11A:=((1日前的VAR10A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR12A赋值:((1日前的VAR11A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR13A赋值:((1日前的VAR12A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR14A赋值:((1日前的VAR13A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR15A赋值:((1日前的VAR14A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR16A赋值:((1日前的VAR15A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR17A赋值:((1日前的VAR16A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR18A赋值:((1日前的VAR17A AND (CLOSE <= 1日前的CLOSE)) AND (CLOSE >= 2日前的CLOSE))
VAR19A赋值:((1日前的VAR18A AND (CLOSE >= 1日前的CLOSE)) AND (CLOSE <= 2日前的CLOSE))
VAR1A赋值:(REF((((((((((((VAREAA OR VARFA) OR VAR10A) OR VAR11A) OR VAR12A) OR VAR13A) OR VAR14A) OR VAR15A) OR VAR16A) OR VAR17A) OR VAR18A) OR VAR19A),1) AND VAR2A)
STICKLINE(VAR1A,O,O+(C-O)/3,4,0),COLOR1029FF
STICKLINE(VAR1A,O,O+(C-O)/3,3.4,0),COLOR1040FF
STICKLINE(VAR1A,O,O+(C-O)/3,2.8,0),COLOR1083FF
STICKLINE(VAR1A,O,O+(C-O)/3,2.2,0),COLOR10ABFF
STICKLINE(VAR1A,O,O+(C-O)/3,1.6,0),COLOR10D0FF
STICKLINE(VAR1A,O,O+(C-O)/3,1,0),COLOR10FFFF
STICKLINE(VAR1A,O,O+(C-O)/3,0.3,0),COLOR00FFFF
AA赋值:(REF((((((((((((VAR2A OR VAR3A) OR VAR4A) OR VAR5A) OR VAR6A) OR VAR7A) OR VAR8A) OR VAR9A)
OR VARAA) OR VARBA) OR VARCA) OR VARDA),1) AND VAREAA)
STICKLINE(AA,O,O+(C-O)/3,4.3,0),COLOR009900
STICKLINE(AA,O,O+(C-O)/3,3.2,0),COLOR00AA00
STICKLINE(AA,O,O+(C-O)/3,2.4,0),COLOR00BB00
STICKLINE(AA,O,O+(C-O)/3,1.7,0),COLOR00CC00
STICKLINE(AA,O,O+(C-O)/3,1.1,0),COLOR00DD00
STICKLINE(AA,O,O+(C-O)/3,0.5,0),COLOR00EE00
STICKLINE(AA,O,O+(C-O)/3,0.2,0),COLOR00FF00
当满足条件1时,在横轴0.00纵轴0位置书写文字
当满足条件1时,在横轴0.05纵轴0位置书写文字
当满足条件1时,在横轴0.11纵轴0位置书写文字
当满足条件1时,在横轴0.16纵轴0位置书写文字
当满足条件1时,在横轴0.22纵轴0.00位置书写文字
DRAWTEXT_FIX(1,0.27,0.00,0,EXTERNSTR(0,1)),画黄色
当满足条件1时,在横轴0.00纵轴0.16位置书写文字
DRAWTEXT_FIX(1,0.05,0.16,0,EXTERNSTR(0,4)),画洋红色
当满足条件1时,在横轴0.00纵轴0.25位置书写文字
DRAWTEXT_FIX(1,0.05,0.258,0,EXTERNSTR(0,2)),画洋红色
当满足条件1时,在横轴0.00纵轴0.33位置书写文字
DRAWTEXT_FIX(1,0.05,0.33,0,EXTERNSTR(0,3)),画洋红色