参照《富致中源模型》一书编译的中源线阴阳转换的主、副图指标

财富   2024-11-02 21:33   江西  

如何判断一个指标是否是好指标?指标的意义在于提示主力的异动。那么怎么才有利于我们更快更容易把握住主力脉搏呢?我们应该力求指标及时的、准确的、明确的、简洁的、直观的将主力的异动汇报给我们。

及时、准确是指标的生命线,不准确或不及时的信号都会贻误战机,这是指标的内在要求。但是指标作为一种图形化的信息,达到人的大脑需要经过视觉系统的转化,为了更快捷的进行信息转化,势必要求指标所呈现的图形简明扼要,能让人直观的把握要领,否则,让人看得晕头转向,同样会降低决策效率和反应速度。因此,这是指标的外在要求。

综合上述,好的指标应该是及时、准确、简明、直观的。这是我们判断指标好坏的终极标准!我见过很多指标,要么失之过简(简单的简),要么失之过繁 ,一个没有深度,一个眼花缭乱,都不能很好的为操盘服务。我个人觉得,公式的编写应尽量将繁杂的信息简化,这种简化主要体现在优化画面和整合买卖信号上,即使是复合式的指标公式,也尽量以简明的色带、图标呈现出来,尽量减少不必要的杂乱的线条,虽然信息量较大,但是依然清爽。以上就是我作为一个基本面为前提下的技术分析派的一点心得,希望能引起同道的共鸣。

参照《富致中源模型》一书编译的中源线阴阳转换的主、副图指标

本指标《中源线阴阳转》是学习了坛友提供的模型理论大师《模型理论-富致中源模型》一书有关基础转换理论

中源线理论源于清朝乾隆年间炒白银大师陈雅山所著的《富致秘录》,据说流传到了日本被林辉太郎发展,成为一种股市交易法。是一套只研究收盘价的,简单直观、买卖方便、仓位清晰、回调买进、上涨出局的双向交易系统。

孙国生大师在书中把中源线的理论模型化,并作了系统的算法、具体的分析举例,有利于炒股人士研究学习。纵观全书,理论不复杂,操作有难度。本人做这个指标只是这个模型理论的最基础部分,就是买、卖点的预测,也就是阴阳点的转换(其实就是趋势转换)。

本套指标分为主、副图。以副图为主,主图只是中源线上叠加K线,主图和副图功能和操作相同。

中源线是以收盘价为计算分值的依据,每天的收盘价连成线就是中源线,从股市语言就是MA1(1天的移动平均线)。今天和昨天的收盘价的差值标在点的旁边,涨了就标红色(+),跌了就标绿色(-)。

本指标就是根据孙老师的模型理论中基础转换部分操作编制。操作时要根据股价运行趋势,找出符合阴转或阳转的形态,在参数调整窗输入A、B、C、D四点的K线根数,

调整D点位置,寻找阴转点或阳转点,当阴转D点附近出现阴转=4.00,K线变蓝色,就是阴转开始,考虑卖出股票。当阳转D点附近出现阳转=4.00,K线变黄色,就是阳转开始,考虑买入股票。(详细操作请看附图)

预测阴转、阳转主图

参数

DRAWTEXT_FIX(1,0.91,0.01,1,'说明: 在参数调整窗内填进阳转A—D四点的K线根数,用来检测下跌形态的D点是否出现阳转,出现刚阳转会在D点和标题栏的与股价区间相应的阳转处显示为“4”,该K线变黄色;股价区间以收盘价为分类,例如10元的股票阳转10,500元的股票是阳转500,'),COLORYELLOW;

DRAWTEXT_FIX(1,0.82,0.05,1,'     其它类推。 同样,在参数调整窗内填进阴转A—D四点的K线根数,用来检测上涨形态的D点是否出现阴转,出现刚阴转会在D点和标题栏的与股价区间相应的阴转处显示为“4”,该K线变蓝色。所有4点的分值指标会自动计算。'),COLORYELLOW;

DRAWTEXT_FIX(1,0.86,0.09,1,'     选点应注意:趋势向下判断阳转时,屈曲段A点<B点,波段不宜太长,以1~5根K线为宜;C点低于A点,CD分值>2×AB分值;趋势向上判断阴转时,屈曲段A点>B点,波段不宜太长,以1~5根K线为宜;C点高于A点,CD分值>2×AB分值。'),COLORYELLOW;

K:=CURRBARSCOUNT,NODRAW;

AR1:=BARSCOUNT(C);

AR2:=CONST(AR1);

AR3:=AR2-AR1,NODRAW;

K线根数:AR3+1,NODRAW,COLORYELLOW;


YAR1:MA(C,1),COLORRED,LINETHICK1;

IF(C<REF(C,1) OR C>REFX(C,1),C,DRAWNULL),COLORGREEN,LINETHICK1;

IF(C>REF(C,1),C,DRAWNULL),COLORRED,LINETHICK1;

IF(C<REFX(C,1),C,DRAWNULL),COLORRED,LINETHICK1;

IF(C>REFX(C,1),C,DRAWNULL),COLORGREEN,LINETHICK1;

M1:IF(C<=REF(C,1),C,DRAWNULL),CIRCLEDOT,COLORFF0080;

M2:IF(C>=REF(C,1),C,DRAWNULL),CIRCLEDOT,COLORLIRED;

K12:=C-REF(C,1);

K13:=IF(C<=10,K12/0.01,IF(C<=20,K12/0.035,IF(C<=40,K12/0.075,IF(C<=500,K12/0.15,IF(C<=1000,K12/0.20,IF(C<=1500,K12/0.25,IF(C<=2000,K12/0.3,IF(C<=2500,K12/0.35,IF(C<=3000,K12/0.40,IF(C<=3500,K12/0.45,IF(C<=4000,K12/0.50,IF(C<=4500,K12/0.55,IF(C<=5000,K12/0.60,0)))))))))))));

K14:=IF(分值开关=1,K13,DRAWNULL);

DRAWNUMBER(0<C<10 AND K14<=0,C,K14),COLORFFFF00;

DRAWNUMBER(0<C<10 AND K14>0,C,K14),COLORRED;


AJS:=REF(C,阳转A点-1),COLORGREEN,NODRAW;

BJS:=REF(C,阳转B点-1),COLORRED,NODRAW;

CJS:=REF(C,阳转C点-1),COLORFFFF00,NODRAW;

DJS:=REF(C,阳转D点-1),COLORFFFF00,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转A点,C,VARCAT('A=',VAR2STR(CONST(AJS),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阳转B点,C,VARCAT('B=',VAR2STR(CONST(BJS),2))),COLORLIRED;

DRAWTEXT(CURRBARSCOUNT=阳转C点,C,VARCAT('C=',VAR2STR(CONST(CJS),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阳转D点,C,VARCAT('D=',VAR2STR(CONST(DJS),2))),COLORLIRED;

FZA:=(BJS-AJS),NODRAW;

FZB:=(DJS-CJS),NODRAW;

FZC:=(DJS-BJS),NODRAW;

AB1分值:=IF(C>0 AND C<=10,FZA/0.01,DRAWNULL),NODRAW;

CD1分值:=IF(C>0 AND C<=10,FZB/0.01,DRAWNULL),NODRAW;

DB1分值:=IF(C>0 AND C<=10,FZC/0.01,DRAWNULL),NODRAW;


ZX1A:=AB1分值>=0.04,NODRAW;

ZX2A:=CD1分值>=0.12,NODRAW;

ZX3A:=DB1分值>=0.03,NODRAW;

ZX4A:=CD1分值>2*AB1分值,NODRAW;

阳转10:CONST(ZX1A+ZX2A+ZX3A+ZX4A),COLORMAGENTA,NODRAW;

阳转10A:=ZX1A+ZX2A+ZX3A+ZX4A,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转10),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转10A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB2分值:=IF(10<C AND C<=20,FZA/0.035,DRAWNULL),NODRAW;

CD2分值:=IF(10<C AND C<=20,FZB/0.035,DRAWNULL),NODRAW;

DB2分值:=IF(10<C AND C<=20,FZC/0.035,DRAWNULL),NODRAW;


ZX1B:=AB2分值>=0.14,NODRAW;

ZX2B:=CD2分值>=0.42,NODRAW;

ZX3B:=DB2分值>=0.105,NODRAW;

ZX4B:=CD2分值>2*AB2分值,NODRAW;

阳转20:CONST(ZX1B+ZX2B+ZX3B+ZX4B),COLORMAGENTA,NODRAW;

阳转20A:=ZX1B+ZX2B+ZX3B+ZX4B,COLORMAGENTA,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转20),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转20A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB3分值:=IF(20<C AND C<=40,FZA/0.075,DRAWNULL),NODRAW;

CD3分值:=IF(20<C AND C<=40,FZB/0.075,DRAWNULL),NODRAW;

DB3分值:=IF(20<C AND C<=40,FZC/0.075,DRAWNULL),NODRAW;


ZX1C:=AB3分值>=0.30,NODRAW;

ZX2C:=CD3分值>=0.90,NODRAW;

ZX3C:=DB3分值>=0.225,NODRAW;

ZX4C:=CD3分值>2*AB3分值,NODRAW;

阳转40:CONST(ZX1C+ZX2C+ZX3C+ZX4C),COLORMAGENTA,NODRAW;

阳转40A:=ZX1C+ZX2C+ZX3C+ZX4C,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转40),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转40A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB4分值:=IF(40<C AND C<=500,FZA/0.15,DRAWNULL),NODRAW;

CD4分值:=IF(40<C AND C<=500,FZB/0.15,DRAWNULL),NODRAW;

DB4分值:=IF(40<C AND C<=500,FZC/0.15,DRAWNULL),NODRAW;


ZX1D:=AB4分值>0.60,NODRAW;

ZX2D:=CD4分值>1.80,NODRAW;

ZX3D:=DB4分值>0.45,NODRAW;

ZX4D:=CD4分值>2*AB4分值,NODRAW;

阳转500:CONST(ZX1D+ZX2D+ZX3D+ZX4D),COLORMAGENTA,NODRAW;

阳转500A:=ZX1D+ZX2D+ZX3D+ZX4D,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转500),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转500A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;



AB5分值:=IF(500<C AND C<=1000,FZA/0.20,DRAWNULL),NODRAW;

CD5分值:=IF(500<C AND C<=1000,FZB/0.20,DRAWNULL),NODRAW;

DB5分值:=IF(500<C AND C<=1000,FZC/0.20,DRAWNULL),NODRAW;


ZX1E:=AB5分值>=0.80,NODRAW;

ZX2E:=CD5分值>=2.40,NODRAW;

ZX3E:=DB5分值>=0.60,NODRAW;

ZX4E:=CD5分值>2*AB5分值,NODRAW;

阳转1000:CONST(ZX1E+ZX2E+ZX3E+ZX4E),COLORMAGENTA,NODRAW;

阳转1000A:=ZX1E+ZX2E+ZX3E+ZX4E,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转1000),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转1000A=4.00 AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS)),CLOSE,OPEN,3,0),COLORYELLOW;


AB6分值:=IF(1000<C AND C<=1500,FZA/0.25,DRAWNULL),NODRAW;

CD6分值:=IF(1000<C AND C<=1500,FZB/0.25,DRAWNULL),NODRAW;

DB6分值:=IF(1000<C AND C<=1500,FZC/0.25,DRAWNULL),NODRAW;


ZX1F:=AB6分值>=1.00,NODRAW;

ZX2F:=CD6分值>=3.00,NODRAW;

ZX3F:=DB6分值>=0.75,NODRAW;

ZX4F:=CD6分值>2*AB6分值,NODRAW;

阳转1500:CONST(ZX1F+ZX2F+ZX3F+ZX4F),COLORMAGENTA,NODRAW;

阳转1500A:=ZX1F+ZX2F+ZX3F+ZX4F,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转1500),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转1500A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB7分值:=IF(1500<C AND C<=2000,FZA/0.30,DRAWNULL),NODRAW;

CD7分值:=IF(1500<C AND C<=2000,FZB/0.30,DRAWNULL),NODRAW;

DB7分值:=IF(1500<C AND C<=2000,FZC/0.30,DRAWNULL),NODRAW;


ZX1G:=AB7分值>=1.20,NODRAW;

ZX2G:=CD7分值>=3.60,NODRAW;

ZX3G:=DB7分值>=0.90,NODRAW;

ZX4G:=CD7分值>2*AB7分值,NODRAW;

阳转2000:CONST(ZX1G+ZX2G+ZX3G+ZX4G),COLORMAGENTA,NODRAW;

阳转2000A:=ZX1G+ZX2G+ZX3G+ZX4G,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转2000),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转2000A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


DRAWLINE(CURRBARSCOUNT=阳转A点,C,CURRBARSCOUNT=阳转B点,C,0),COLORRED,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阳转B点,C,CURRBARSCOUNT=阳转C点,C,0),COLORYELLOW,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阳转C点,C,CURRBARSCOUNT=阳转D点,C,0),COLORMAGENTA,LINETHICK2;

DRAWICON(CURRBARSCOUNT=阳转A点,C,38);

DRAWICON(CURRBARSCOUNT=阳转B点,C,39);

DRAWICON(CURRBARSCOUNT=阳转C点,C,38);

DRAWICON(CURRBARSCOUNT=阳转D点,C,39);


AJX:=REF(C,阴转A点-1),COLORGREEN,NODRAW;

BJX:=REF(C,阴转B点-1),COLORRED,NODRAW;

CJX:=REF(C,阴转C点-1),COLORFFFF00,NODRAW;

DJX:=REF(C,阴转D点-1),COLORFFFF00,NODRAW;


DRAWTEXT(CURRBARSCOUNT=阴转A点,C,VARCAT('A=',VAR2STR(CONST(AJX),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阴转B点,C,VARCAT('B=',VAR2STR(CONST(BJX),2))),COLORLIRED;

DRAWTEXT(CURRBARSCOUNT=阴转C点,C,VARCAT('C=',VAR2STR(CONST(CJX),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阴转D点,C,VARCAT('D=',VAR2STR(CONST(DJX),2))),COLORLIRED;


FZE:=(AJX-BJX),NODRAW;

FZF:=(CJX-DJX),NODRAW;

FZG:=(BJX-DJX),NODRAW;


AB1B分值:=IF(C>0 AND C<=10,FZE/0.01,DRAWNULL),NODRAW;

CD1B分值:=IF(C>0 AND C<=10,FZF/0.01,DRAWNULL),NODRAW;

DB1B分值:=IF(C>0 AND C<=10,FZG/0.01,DRAWNULL),NODRAW;


ZS1A:=AB1B分值>=0.04,NODRAW;

ZS2A:=CD1B分值>=0.12,NODRAW;

ZS3A:=DB1B分值>=0.03,NODRAW;

ZS4A:=CD1B分值>2*AB1B分值,NODRAW;

阴转10:CONST(ZS1A+ZS2A+ZS3A+ZS4A),COLORGREEN,NODRAW;

阴转10A:=ZS1A+ZS2A+ZS3A+ZS4A,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转10),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转10A=4) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX),CLOSE,OPEN,3,0),COLORBLUE;


AB2B分值:=IF(10<C AND C<=20,FZE/0.035,DRAWNULL),NODRAW;

CD2B分值:=IF(10<C AND C<=20,FZF/0.035,DRAWNULL),NODRAW;

DB2B分值:=IF(10<C AND C<=20,FZG/0.035,DRAWNULL),NODRAW;


ZS1B:=AB2B分值>=0.14,NODRAW;

ZS2B:=CD2B分值>=0.42,NODRAW;

ZS3B:=DB2B分值>=0.105,NODRAW;

ZS4B:=CD2B分值>2*AB2B分值,NODRAW;

阴转20:CONST(ZS1B+ZS2B+ZS3B+ZS4B),COLORGREEN,NODRAW;

阴转20A:=ZS1B+ZS2B+ZS3B+ZS4B,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转20),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转20A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB3B分值:=IF(20<C AND C<=40,FZE/0.075,DRAWNULL),NODRAW;

CD3B分值:=IF(20<C AND C<=40,FZF/0.075,DRAWNULL),NODRAW;

DB3B分值:=IF(20<C AND C<=40,FZG/0.075,DRAWNULL),NODRAW;


ZS1C:=AB3B分值>=0.30,NODRAW;

ZS2C:=CD3B分值>=0.90,NODRAW;

ZS3C:=DB3B分值>=0.225,NODRAW;

ZS4C:=CD3B分值>2*AB3B分值,NODRAW;

阴转40:CONST(ZS1C+ZS2C+ZS3C+ZS4C),COLORGREEN,NODRAW;

阴转40A:=ZS1C+ZS2C+ZS3C+ZS4C,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转40),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转40A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB4B分值:=IF(40<C AND C<=500,FZE/0.15,DRAWNULL),NODRAW;

CD4B分值:=IF(40<C AND C<=500,FZF/0.15,DRAWNULL),NODRAW;

DB4B分值:=IF(40<C AND C<=500,FZG/0.15,DRAWNULL),NODRAW;


ZS1D:=AB4B分值>=0.60,NODRAW;

ZS2D:=CD4B分值>=1.80,NODRAW;

ZS3D:=DB4B分值>=0.45,NODRAW;

ZS4D:=CD4B分值>2*AB4B分值,NODRAW;

阴转500:CONST(ZS1D+ZS2D+ZS3D+ZS4D),COLORGREEN,NODRAW;

阴转500A:=ZS1D+ZS2D+ZS3D+ZS4D,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转500),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转500A=4) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX),CLOSE,OPEN,3,0),COLORBLUE;


AB5B分值:=IF(500<C AND C<=1000,FZE/0.20,DRAWNULL),NODRAW;

CD5B分值:=IF(500<C AND C<=1000,FZF/0.20,DRAWNULL),NODRAW;

DB5B分值:=IF(500<C AND C<=1000,FZG/0.20,DRAWNULL),NODRAW;


ZS1E:=AB5B分值>=0.80,NODRAW;

ZS2E:=CD5B分值>=2.40,NODRAW;

ZS3E:=DB5B分值>=0.60,NODRAW;

ZS4E:=CD5B分值>2*AB5B分值,NODRAW;

阴转1000:CONST(ZS1E+ZS2E+ZS3E+ZS4E),COLORGREEN,NODRAW;

阴转1000A:=ZS1E+ZS2E+ZS3E+ZS4E,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转1000),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转1000A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB6B分值:=IF(1000<C AND C<=1500,FZE/0.25,DRAWNULL),NODRAW;

CD6B分值:=IF(1000<C AND C<=1500,FZF/0.25,DRAWNULL),NODRAW;

DB6B分值:=IF(1000<C AND C<=1500,FZG/0.25,DRAWNULL),NODRAW;


ZS1F:=AB6B分值>=1.00,NODRAW;

ZS2F:=CD6B分值>=3.00,NODRAW;

ZS3F:=DB6B分值>=0.75,NODRAW;

ZS4F:=CD6B分值>2*AB6B分值,NODRAW;

阴转1500:CONST(ZS1F+ZS2F+ZS3F+ZS4F),COLORGREEN,NODRAW;

阴转1500A:=ZS1F+ZS2F+ZS3F+ZS4F,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转1500),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转1500A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB7B分值:=IF(1500<C AND C<=2000,FZE/0.30,DRAWNULL),NODRAW;

CD7B分值:=IF(1500<C AND C<=2000,FZF/0.30,DRAWNULL),NODRAW;

DB7B分值:=IF(1500<C AND C<=2000,FZG/0.30,DRAWNULL),NODRAW;


ZS1G:=AB7B分值>=1.20,NODRAW;

ZS2G:=CD7B分值>=3.60,NODRAW;

ZS3G:=DB7B分值>=0.90,NODRAW;

ZS4G:=CD7B分值>2*AB7B分值,NODRAW;

阴转2000:CONST(ZS1G+ZS2G+ZS3G+ZS4G),COLORGREEN,NODRAW;

阴转2000A:=ZS1G+ZS2G+ZS3G+ZS4G,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转2000),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转2000A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


DRAWLINE(CURRBARSCOUNT=阴转A点,C,CURRBARSCOUNT=阴转B点,C,0),COLORLIRED,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阴转B点,C,CURRBARSCOUNT=阴转C点,C,0),COLORFF8800,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阴转C点,C,CURRBARSCOUNT=阴转D点,C,0),COLORWHITE,LINETHICK2;

DRAWICON(CURRBARSCOUNT=阴转A点,C,39);

DRAWICON(CURRBARSCOUNT=阴转B点,C,38);

DRAWICON(CURRBARSCOUNT=阴转C点,C,39);

DRAWICON(CURRBARSCOUNT=阴转D点,C,38);


A1:=REF(HIGH,5)=HHV(HIGH,2*3+1);

B1:=FILTER(A1,5);

C1:=BACKSET(B1,5+1);

D1:=FILTER(C1,5);

A2:=REF(LOW,5)=LLV(LOW,2*3+1);

B2:=FILTER(A2,5);

C2:=BACKSET(B2,5+1);

D2:=FILTER(C2,5);

E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

E2:=(HIGH+LOW)/2;

H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;

H2:=D1 AND NOT(D2 AND E1>=E2);

L1:=D2 AND NOT(D1 AND E1=E2);

X1:=REF(BARSLAST(H1),1)+1; 

F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1); 

I1:=BACKSET(G1,2);

LD:=I1>REF(I1,1);

L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1; 

F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1); 

I2:=BACKSET(G2,2); 

HD:=I2>REF(I2,1);

A3:=H; 

B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2));

D3:=A3 AND B3 AND HD; 

E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2); 

HH:=E3>REF(E3,1);

A4:=L>REF(L,REF(BARSLAST(LD),1)+1);

B4:=REF(L,REF(BARSLAST(LD),1)+1); D4:=A4 AND B4 AND LD; 

E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2);

LL:=E4>REF(E4,1);

H3:=HH OR ISLASTBAR OR BARSCOUNT(C)=1; 

X3:=REF(BARSLAST(H3),1)+1; 

F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3));

G3:=F3>REF(F3,1);  

I3:=BACKSET(G3,2);  

LZ:=I3>REF(I3,1); 

L4:=LZ OR ISLASTBAR OR BARSCOUNT(C)=1;

X4:=REF(BARSLAST(L4),1)+1; 

F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4));

G4:=F4>REF(F4,1);  

I4:=BACKSET(G4,2);  

HZ:=I4>REF(I4,1);

K1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); 

K2:=K1>REF(K1,1);

UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

KA:=CURRBARSCOUNT,NODRAW;

KB:=IF(K线根数开关=1,KA,DRAWNULL);

DRAWNUMBER(HD,H,KB),COLORYELLOW,DRAWABOVE;

DRAWNUMBER(LD,L,KB),COLORFF8800;

高点:=BARSLAST(HD);

低点:=BARSLAST(LD);


中源线阴阳转副图

参数

K:=CURRBARSCOUNT,NODRAW;

AR1:=BARSCOUNT(C);

AR2:=CONST(AR1);

AR3:=AR2-AR1,NODRAW;

K线根数:AR3+1,NODRAW,COLORYELLOW;


YAR1:MA(C,1),COLORRED,LINETHICK1;

IF(C<REF(C,1) OR C>REFX(C,1),C,DRAWNULL),COLORGREEN,LINETHICK1;

IF(C>REF(C,1),C,DRAWNULL),COLORRED,LINETHICK1;

IF(C<REFX(C,1),C,DRAWNULL),COLORRED,LINETHICK1;

IF(C>REFX(C,1),C,DRAWNULL),COLORGREEN,LINETHICK1;

M1:IF(C<=REF(C,1),C,DRAWNULL),CIRCLEDOT,COLORFF0080;

M2:IF(C>=REF(C,1),C,DRAWNULL),CIRCLEDOT,COLORLIRED;

K12:=C-REF(C,1);

K13:=IF(C<=10,K12/0.01,IF(C<=20,K12/0.035,IF(C<=40,K12/0.075,IF(C<=500,K12/0.15,IF(C<=1000,K12/0.20,IF(C<=1500,K12/0.25,IF(C<=2000,K12/0.3,IF(C<=2500,K12/0.35,IF(C<=3000,K12/0.40,IF(C<=3500,K12/0.45,IF(C<=4000,K12/0.50,IF(C<=4500,K12/0.55,IF(C<=5000,K12/0.60,0)))))))))))));

K14:=IF(分值开关=1,K13,DRAWNULL);

DRAWNUMBER(0<C<10 AND K14<=0,C,K14),COLORFFFF00;

DRAWNUMBER(0<C<10 AND K14>0,C,K14),COLORRED;


AJS:=REF(C,阳转A点-1),COLORGREEN,NODRAW;

BJS:=REF(C,阳转B点-1),COLORRED,NODRAW;

CJS:=REF(C,阳转C点-1),COLORFFFF00,NODRAW;

DJS:=REF(C,阳转D点-1),COLORFFFF00,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转A点,C,VARCAT('A=',VAR2STR(CONST(AJS),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阳转B点,C,VARCAT('B=',VAR2STR(CONST(BJS),2))),COLORLIRED;

DRAWTEXT(CURRBARSCOUNT=阳转C点,C,VARCAT('C=',VAR2STR(CONST(CJS),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阳转D点,C,VARCAT('D=',VAR2STR(CONST(DJS),2))),COLORLIRED;

FZA:=(BJS-AJS),NODRAW;

FZB:=(DJS-CJS),NODRAW;

FZC:=(DJS-BJS),NODRAW;

AB1分值:=IF(C>0 AND C<=10,FZA/0.01,DRAWNULL),NODRAW;

CD1分值:=IF(C>0 AND C<=10,FZB/0.01,DRAWNULL),NODRAW;

DB1分值:=IF(C>0 AND C<=10,FZC/0.01,DRAWNULL),NODRAW;


ZX1A:=AB1分值>=0.04,NODRAW;

ZX2A:=CD1分值>=0.12,NODRAW;

ZX3A:=DB1分值>=0.03,NODRAW;

ZX4A:=CD1分值>2*AB1分值,NODRAW;

阳转10:CONST(ZX1A+ZX2A+ZX3A+ZX4A),COLORMAGENTA,NODRAW;

阳转10A:=ZX1A+ZX2A+ZX3A+ZX4A,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转10),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转10A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB2分值:=IF(10<C AND C<=20,FZA/0.035,DRAWNULL),NODRAW;

CD2分值:=IF(10<C AND C<=20,FZB/0.035,DRAWNULL),NODRAW;

DB2分值:=IF(10<C AND C<=20,FZC/0.035,DRAWNULL),NODRAW;


ZX1B:=AB2分值>=0.14,NODRAW;

ZX2B:=CD2分值>=0.42,NODRAW;

ZX3B:=DB2分值>=0.105,NODRAW;

ZX4B:=CD2分值>2*AB2分值,NODRAW;

阳转20:CONST(ZX1B+ZX2B+ZX3B+ZX4B),COLORMAGENTA,NODRAW;

阳转20A:=ZX1B+ZX2B+ZX3B+ZX4B,COLORMAGENTA,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转20),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转20A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB3分值:=IF(20<C AND C<=40,FZA/0.075,DRAWNULL),NODRAW;

CD3分值:=IF(20<C AND C<=40,FZB/0.075,DRAWNULL),NODRAW;

DB3分值:=IF(20<C AND C<=40,FZC/0.075,DRAWNULL),NODRAW;


ZX1C:=AB3分值>=0.30,NODRAW;

ZX2C:=CD3分值>=0.90,NODRAW;

ZX3C:=DB3分值>=0.225,NODRAW;

ZX4C:=CD3分值>2*AB3分值,NODRAW;

阳转40:CONST(ZX1C+ZX2C+ZX3C+ZX4C),COLORMAGENTA,NODRAW;

阳转40A:=ZX1C+ZX2C+ZX3C+ZX4C,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转40),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转40A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB4分值:=IF(40<C AND C<=500,FZA/0.15,DRAWNULL),NODRAW;

CD4分值:=IF(40<C AND C<=500,FZB/0.15,DRAWNULL),NODRAW;

DB4分值:=IF(40<C AND C<=500,FZC/0.15,DRAWNULL),NODRAW;


ZX1D:=AB4分值>0.60,NODRAW;

ZX2D:=CD4分值>1.80,NODRAW;

ZX3D:=DB4分值>0.45,NODRAW;

ZX4D:=CD4分值>2*AB4分值,NODRAW;

阳转500:CONST(ZX1D+ZX2D+ZX3D+ZX4D),COLORMAGENTA,NODRAW;

阳转500A:=ZX1D+ZX2D+ZX3D+ZX4D,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转500),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转500A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;



AB5分值:=IF(500<C AND C<=1000,FZA/0.20,DRAWNULL),NODRAW;

CD5分值:=IF(500<C AND C<=1000,FZB/0.20,DRAWNULL),NODRAW;

DB5分值:=IF(500<C AND C<=1000,FZC/0.20,DRAWNULL),NODRAW;


ZX1E:=AB5分值>=0.80,NODRAW;

ZX2E:=CD5分值>=2.40,NODRAW;

ZX3E:=DB5分值>=0.60,NODRAW;

ZX4E:=CD5分值>2*AB5分值,NODRAW;

阳转1000:CONST(ZX1E+ZX2E+ZX3E+ZX4E),COLORMAGENTA,NODRAW;

阳转1000A:=ZX1E+ZX2E+ZX3E+ZX4E,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转1000),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转1000A=4.00 AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS)),CLOSE,OPEN,3,0),COLORYELLOW;


AB6分值:=IF(1000<C AND C<=1500,FZA/0.25,DRAWNULL),NODRAW;

CD6分值:=IF(1000<C AND C<=1500,FZB/0.25,DRAWNULL),NODRAW;

DB6分值:=IF(1000<C AND C<=1500,FZC/0.25,DRAWNULL),NODRAW;


ZX1F:=AB6分值>=1.00,NODRAW;

ZX2F:=CD6分值>=3.00,NODRAW;

ZX3F:=DB6分值>=0.75,NODRAW;

ZX4F:=CD6分值>2*AB6分值,NODRAW;

阳转1500:CONST(ZX1F+ZX2F+ZX3F+ZX4F),COLORMAGENTA,NODRAW;

阳转1500A:=ZX1F+ZX2F+ZX3F+ZX4F,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转1500),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转1500A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


AB7分值:=IF(1500<C AND C<=2000,FZA/0.30,DRAWNULL),NODRAW;

CD7分值:=IF(1500<C AND C<=2000,FZB/0.30,DRAWNULL),NODRAW;

DB7分值:=IF(1500<C AND C<=2000,FZC/0.30,DRAWNULL),NODRAW;


ZX1G:=AB7分值>=1.20,NODRAW;

ZX2G:=CD7分值>=3.60,NODRAW;

ZX3G:=DB7分值>=0.90,NODRAW;

ZX4G:=CD7分值>2*AB7分值,NODRAW;

阳转2000:CONST(ZX1G+ZX2G+ZX3G+ZX4G),COLORMAGENTA,NODRAW;

阳转2000A:=ZX1G+ZX2G+ZX3G+ZX4G,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阳转D点+5,CONST(DJS),VARCAT('阳转=',VAR2STR(CONST(阳转2000),2))),COLORMAGENTA;

STICKLINE(BARSLAST(阳转2000A=4.00) AND CURRBARSCOUNT=阳转D点 AND CONST(DJS)>CONST(BJS),CLOSE,OPEN,3,0),COLORYELLOW;


DRAWLINE(CURRBARSCOUNT=阳转A点,C,CURRBARSCOUNT=阳转B点,C,0),COLORRED,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阳转B点,C,CURRBARSCOUNT=阳转C点,C,0),COLORYELLOW,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阳转C点,C,CURRBARSCOUNT=阳转D点,C,0),COLORMAGENTA,LINETHICK2;

DRAWICON(CURRBARSCOUNT=阳转A点,C,38);

DRAWICON(CURRBARSCOUNT=阳转B点,C,39);

DRAWICON(CURRBARSCOUNT=阳转C点,C,38);

DRAWICON(CURRBARSCOUNT=阳转D点,C,39);


AJX:=REF(C,阴转A点-1),COLORGREEN,NODRAW;

BJX:=REF(C,阴转B点-1),COLORRED,NODRAW;

CJX:=REF(C,阴转C点-1),COLORFFFF00,NODRAW;

DJX:=REF(C,阴转D点-1),COLORFFFF00,NODRAW;


DRAWTEXT(CURRBARSCOUNT=阴转A点,C,VARCAT('A=',VAR2STR(CONST(AJX),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阴转B点,C,VARCAT('B=',VAR2STR(CONST(BJX),2))),COLORLIRED;

DRAWTEXT(CURRBARSCOUNT=阴转C点,C,VARCAT('C=',VAR2STR(CONST(CJX),2))),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=阴转D点,C,VARCAT('D=',VAR2STR(CONST(DJX),2))),COLORLIRED;


FZE:=(AJX-BJX),NODRAW;

FZF:=(CJX-DJX),NODRAW;

FZG:=(BJX-DJX),NODRAW;


AB1B分值:=IF(C>0 AND C<=10,FZE/0.01,DRAWNULL),NODRAW;

CD1B分值:=IF(C>0 AND C<=10,FZF/0.01,DRAWNULL),NODRAW;

DB1B分值:=IF(C>0 AND C<=10,FZG/0.01,DRAWNULL),NODRAW;


ZS1A:=AB1B分值>=0.04,NODRAW;

ZS2A:=CD1B分值>=0.12,NODRAW;

ZS3A:=DB1B分值>=0.03,NODRAW;

ZS4A:=CD1B分值>2*AB1B分值,NODRAW;

阴转10:CONST(ZS1A+ZS2A+ZS3A+ZS4A),COLORGREEN,NODRAW;

阴转10A:=ZS1A+ZS2A+ZS3A+ZS4A,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转10),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转10A=4) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX),CLOSE,OPEN,3,0),COLORBLUE;


AB2B分值:=IF(10<C AND C<=20,FZE/0.035,DRAWNULL),NODRAW;

CD2B分值:=IF(10<C AND C<=20,FZF/0.035,DRAWNULL),NODRAW;

DB2B分值:=IF(10<C AND C<=20,FZG/0.035,DRAWNULL),NODRAW;


ZS1B:=AB2B分值>=0.14,NODRAW;

ZS2B:=CD2B分值>=0.42,NODRAW;

ZS3B:=DB2B分值>=0.105,NODRAW;

ZS4B:=CD2B分值>2*AB2B分值,NODRAW;

阴转20:CONST(ZS1B+ZS2B+ZS3B+ZS4B),COLORGREEN,NODRAW;

阴转20A:=ZS1B+ZS2B+ZS3B+ZS4B,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转20),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转20A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB3B分值:=IF(20<C AND C<=40,FZE/0.075,DRAWNULL),NODRAW;

CD3B分值:=IF(20<C AND C<=40,FZF/0.075,DRAWNULL),NODRAW;

DB3B分值:=IF(20<C AND C<=40,FZG/0.075,DRAWNULL),NODRAW;


ZS1C:=AB3B分值>=0.30,NODRAW;

ZS2C:=CD3B分值>=0.90,NODRAW;

ZS3C:=DB3B分值>=0.225,NODRAW;

ZS4C:=CD3B分值>2*AB3B分值,NODRAW;

阴转40:CONST(ZS1C+ZS2C+ZS3C+ZS4C),COLORGREEN,NODRAW;

阴转40A:=ZS1C+ZS2C+ZS3C+ZS4C,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转40),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转40A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB4B分值:=IF(40<C AND C<=500,FZE/0.15,DRAWNULL),NODRAW;

CD4B分值:=IF(40<C AND C<=500,FZF/0.15,DRAWNULL),NODRAW;

DB4B分值:=IF(40<C AND C<=500,FZG/0.15,DRAWNULL),NODRAW;


ZS1D:=AB4B分值>=0.60,NODRAW;

ZS2D:=CD4B分值>=1.80,NODRAW;

ZS3D:=DB4B分值>=0.45,NODRAW;

ZS4D:=CD4B分值>2*AB4B分值,NODRAW;

阴转500:CONST(ZS1D+ZS2D+ZS3D+ZS4D),COLORGREEN,NODRAW;

阴转500A:=ZS1D+ZS2D+ZS3D+ZS4D,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转500),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转500A=4) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX),CLOSE,OPEN,3,0),COLORBLUE;


AB5B分值:=IF(500<C AND C<=1000,FZE/0.20,DRAWNULL),NODRAW;

CD5B分值:=IF(500<C AND C<=1000,FZF/0.20,DRAWNULL),NODRAW;

DB5B分值:=IF(500<C AND C<=1000,FZG/0.20,DRAWNULL),NODRAW;


ZS1E:=AB5B分值>=0.80,NODRAW;

ZS2E:=CD5B分值>=2.40,NODRAW;

ZS3E:=DB5B分值>=0.60,NODRAW;

ZS4E:=CD5B分值>2*AB5B分值,NODRAW;

阴转1000:CONST(ZS1E+ZS2E+ZS3E+ZS4E),COLORGREEN,NODRAW;

阴转1000A:=ZS1E+ZS2E+ZS3E+ZS4E,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转1000),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转1000A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB6B分值:=IF(1000<C AND C<=1500,FZE/0.25,DRAWNULL),NODRAW;

CD6B分值:=IF(1000<C AND C<=1500,FZF/0.25,DRAWNULL),NODRAW;

DB6B分值:=IF(1000<C AND C<=1500,FZG/0.25,DRAWNULL),NODRAW;


ZS1F:=AB6B分值>=1.00,NODRAW;

ZS2F:=CD6B分值>=3.00,NODRAW;

ZS3F:=DB6B分值>=0.75,NODRAW;

ZS4F:=CD6B分值>2*AB6B分值,NODRAW;

阴转1500:CONST(ZS1F+ZS2F+ZS3F+ZS4F),COLORGREEN,NODRAW;

阴转1500A:=ZS1F+ZS2F+ZS3F+ZS4F,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转1500),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转1500A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


AB7B分值:=IF(1500<C AND C<=2000,FZE/0.30,DRAWNULL),NODRAW;

CD7B分值:=IF(1500<C AND C<=2000,FZF/0.30,DRAWNULL),NODRAW;

DB7B分值:=IF(1500<C AND C<=2000,FZG/0.30,DRAWNULL),NODRAW;


ZS1G:=AB7B分值>=1.20,NODRAW;

ZS2G:=CD7B分值>=3.60,NODRAW;

ZS3G:=DB7B分值>=0.90,NODRAW;

ZS4G:=CD7B分值>2*AB7B分值,NODRAW;

阴转2000:CONST(ZS1G+ZS2G+ZS3G+ZS4G),COLORGREEN,NODRAW;

阴转2000A:=ZS1G+ZS2G+ZS3G+ZS4G,NODRAW;

DRAWTEXT(CURRBARSCOUNT=阴转D点+8,CONST(DJX),VARCAT('阴转=',VAR2STR(CONST(阴转2000),2))),COLORGREEN;

STICKLINE(BARSLAST(阴转2000A=4.00) AND CURRBARSCOUNT=阴转D点 AND CONST(DJX)<CONST(BJX) ,CLOSE,OPEN,3,0),COLORBLUE;


DRAWLINE(CURRBARSCOUNT=阴转A点,C,CURRBARSCOUNT=阴转B点,C,0),COLORLIRED,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阴转B点,C,CURRBARSCOUNT=阴转C点,C,0),COLORFF8800,LINETHICK2;

DRAWLINE(CURRBARSCOUNT=阴转C点,C,CURRBARSCOUNT=阴转D点,C,0),COLORWHITE,LINETHICK2;

DRAWICON(CURRBARSCOUNT=阴转A点,C,39);

DRAWICON(CURRBARSCOUNT=阴转B点,C,38);

DRAWICON(CURRBARSCOUNT=阴转C点,C,39);

DRAWICON(CURRBARSCOUNT=阴转D点,C,38);


A1:=REF(HIGH,5)=HHV(HIGH,2*3+1);

B1:=FILTER(A1,5);

C1:=BACKSET(B1,5+1);

D1:=FILTER(C1,5);

A2:=REF(LOW,5)=LLV(LOW,2*3+1);

B2:=FILTER(A2,5);

C2:=BACKSET(B2,5+1);

D2:=FILTER(C2,5);

E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

E2:=(HIGH+LOW)/2;

H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;

H2:=D1 AND NOT(D2 AND E1>=E2);

L1:=D2 AND NOT(D1 AND E1=E2);

X1:=REF(BARSLAST(H1),1)+1; 

F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1); 

I1:=BACKSET(G1,2);

LD:=I1>REF(I1,1);

L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1; 

F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1); 

I2:=BACKSET(G2,2); 

HD:=I2>REF(I2,1);

A3:=H; 

B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2));

D3:=A3 AND B3 AND HD; 

E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2); 

HH:=E3>REF(E3,1);

A4:=L>REF(L,REF(BARSLAST(LD),1)+1);

B4:=REF(L,REF(BARSLAST(LD),1)+1); D4:=A4 AND B4 AND LD; 

E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2);

LL:=E4>REF(E4,1);

H3:=HH OR ISLASTBAR OR BARSCOUNT(C)=1; 

X3:=REF(BARSLAST(H3),1)+1; 

F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3));

G3:=F3>REF(F3,1);  

I3:=BACKSET(G3,2);  

LZ:=I3>REF(I3,1); 

L4:=LZ OR ISLASTBAR OR BARSCOUNT(C)=1;

X4:=REF(BARSLAST(L4),1)+1; 

F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4));

G4:=F4>REF(F4,1);  

I4:=BACKSET(G4,2);  

HZ:=I4>REF(I4,1);

K1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); 

K2:=K1>REF(K1,1);

UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

KA:=CURRBARSCOUNT,NODRAW;

KB:=IF(K线根数开关=1,KA,DRAWNULL);

DRAWNUMBER(HD,H,KB),COLORYELLOW,DRAWABOVE;

DRAWNUMBER(LD,L,KB),COLORFF8800;

高点:=BARSLAST(HD);

低点:=BARSLAST(LD);

重要通知 最近好多人反馈复制不通过 ,我发的源码都没问题的可能是大家复制的时候出的问题,大家尝试下鼠标复制或者键盘CTRL+C复制再不行的话,复制到电脑桌面建一个TXT文档把源码放进去或者建一个WORD文档,再从WORD或者TXT文档中复制源码到软件

实在不行的话

不想复制或者老是复制错误的朋友可直接领取TN6源码一键导入

领取步骤

第一步:先点亮文章右下角的点赞“


第二步:点击下方名片关注公众号


第三步:回复关键词阴阳转换  获取指标源码


指                标                完                 结 公众号有时候需要经费运转用以发布各种指标,要是出现广告文章请帮我点开看看就行,介意者取消关注即可 站在巨人的肩膀上,通过进走势规律不断摸索,不断优化进取所得精华源码,指标全以电脑编辑(手机没验证是否能通过)如有不通过请自行查阅是否遗漏源码 郑重提示:现在公众号的推送规则改变了,有些读者反映收不到文章推送的情况,为防止大家看不到重要的文章,大家可以点击左上方“通达信指标爱好者”,再点击右上角的“...”,随后点“设为星标★”就可以及时收到文章的推送了,创作不易请收藏点赞转发。。。你的支持


股市征途:以梦为马,不负韶华——一段股票投资者的励志之旅

在人生的长河中,每个人都是自己命运的舵手,驾驶着各自的船只,在波澜壮阔的生活中航行。而股票市场,这片金融的汪洋大海,无疑是对个人智慧、勇气与毅力的终极考验。它既是梦想的摇篮,也是现实的试炼场,无数投资者在这里追寻财富自由,探索投资的真谛,书写着属于自己的励志传奇。

初识股市:梦想的种子在心中萌芽

对于许多人来说,股市最初只是一个遥远而神秘的概念,直到某一天,一颗名为“梦想”的种子在心中悄然萌芽。或许是对财富的渴望,或是对自我价值实现的追求,亦或是对未知世界的好奇,我们踏上了这条充满未知与挑战的征途。股市,这个看似冷酷无情的市场,却以它独有的魅力,吸引着无数追梦人前来探索。

风雨兼程:在挫折中成长,在失败中崛起

股市之路,从来不是一帆风顺的。初入股市,我们或许会因为一时的成功而沾沾自喜,但很快,市场的无情波动就会让我们明白,投资是一场持久战,而非一时的胜负。面对市场的震荡,有人选择了退缩,将梦想深埋心底;而有人,则选择了勇敢面对,将每一次失败视为成长的契机。他们明白,每一次的挫折,都是对意志的磨砺,每一次的失败,都是对智慧的启迪。在股市的风雨中,他们学会了坚韧,学会了耐心,更学会了如何在逆境中寻找机遇。

学习与反思:智慧的灯塔照亮前行的路

在股市的征途中,学习是永恒的主题。从基础的财务知识,到复杂的市场分析,再到深入人心的投资哲学,每一步都需要我们用心去领悟,去实践。我们学会了从历史的走势中寻找规律,从市场的情绪中捕捉信号,从他人的成功与失败中汲取经验。更重要的是,我们学会了反思,每一次交易后,都会对自己的决策进行深入的剖析,找出不足,总结经验。智慧的灯塔,就这样在学习的过程中逐渐亮起,照亮了我们前行的道路。

坚守信念:在波动中寻找价值,在寂寞中坚持自我

股市,是一个充满诱惑与陷阱的地方。市场的波动,往往让人心浮气躁,迷失方向。但真正的投资者,懂得在波动中寻找价值,他们明白,市场的短期波动,无法改变企业的长期价值。他们坚守自己的投资理念,不被市场的噪音所干扰,即使在最寂寞的时刻,也能保持内心的平静与坚定。正是这份对信念的坚守,让他们在股市的风云变幻中,始终保持着清醒的头脑,抓住了属于自己的机会。

梦想成真:以时间为友,静待花开

股市,是一个需要耐心等待的地方。真正的成功,往往需要时间的沉淀。在漫长的投资生涯中,我们学会了与时间为友,学会了在等待中积累,在积累中爆发。我们明白,每一个伟大的投资故事,都需要时间的见证。当我们的耐心与坚持,终于迎来了市场的认可,那一刻的喜悦与满足,是任何语言都难以形容的。梦想,就这样在时间的见证下,一步步变成了现实。

结语:股市征途,一段永不落幕的励志传奇

股市,这个梦想与现实交织的舞台,见证了无数投资者的成长与蜕变。它教会了我们勇气、智慧、耐心与坚持。在这里,我们学会了以梦为马,不负韶华,用汗水与智慧,书写着属于自己的励志传奇。无论未来的路有多么艰难,只要我们心怀梦想,勇往直前,就一定能在股市的征途中,找到属于自己的那片星辰大海。

股市征途,是一段永不落幕的旅程。让我们携手并进,以梦为马,不负韶华,共同书写属于我们的股市励志篇章!


股市征途:以梦为马,不负韶华——一段股票投资者的励志之旅

在人生的长河中,每个人都是自己命运的舵手,驾驶着各自的船只,在波澜壮阔的生活中航行。而股票市场,这片金融的汪洋大海,无疑是对个人智慧、勇气与毅力的终极考验。它既是梦想的摇篮,也是现实的试炼场,无数投资者在这里追寻财富自由,探索投资的真谛,书写着属于自己的励志传奇。

初识股市:梦想的种子在心中萌芽

对于许多人来说,股市最初只是一个遥远而神秘的概念,直到某一天,一颗名为“梦想”的种子在心中悄然萌芽。或许是对财富的渴望,或是对自我价值实现的追求,亦或是对未知世界的好奇,我们踏上了这条充满未知与挑战的征途。股市,这个看似冷酷无情的市场,却以它独有的魅力,吸引着无数追梦人前来探索。

风雨兼程:在挫折中成长,在失败中崛起

股市之路,从来不是一帆风顺的。初入股市,我们或许会因为一时的成功而沾沾自喜,但很快,市场的无情波动就会让我们明白,投资是一场持久战,而非一时的胜负。面对市场的震荡,有人选择了退缩,将梦想深埋心底;而有人,则选择了勇敢面对,将每一次失败视为成长的契机。他们明白,每一次的挫折,都是对意志的磨砺,每一次的失败,都是对智慧的启迪。在股市的风雨中,他们学会了坚韧,学会了耐心,更学会了如何在逆境中寻找机遇。

学习与反思:智慧的灯塔照亮前行的路

在股市的征途中,学习是永恒的主题。从基础的财务知识,到复杂的市场分析,再到深入人心的投资哲学,每一步都需要我们用心去领悟,去实践。我们学会了从历史的走势中寻找规律,从市场的情绪中捕捉信号,从他人的成功与失败中汲取经验。更重要的是,我们学会了反思,每一次交易后,都会对自己的决策进行深入的剖析,找出不足,总结经验。智慧的灯塔,就这样在学习的过程中逐渐亮起,照亮了我们前行的道路。

坚守信念:在波动中寻找价值,在寂寞中坚持自我

股市,是一个充满诱惑与陷阱的地方。市场的波动,往往让人心浮气躁,迷失方向。但真正的投资者,懂得在波动中寻找价值,他们明白,市场的短期波动,无法改变企业的长期价值。他们坚守自己的投资理念,不被市场的噪音所干扰,即使在最寂寞的时刻,也能保持内心的平静与坚定。正是这份对信念的坚守,让他们在股市的风云变幻中,始终保持着清醒的头脑,抓住了属于自己的机会。

梦想成真:以时间为友,静待花开

股市,是一个需要耐心等待的地方。真正的成功,往往需要时间的沉淀。在漫长的投资生涯中,我们学会了与时间为友,学会了在等待中积累,在积累中爆发。我们明白,每一个伟大的投资故事,都需要时间的见证。当我们的耐心与坚持,终于迎来了市场的认可,那一刻的喜悦与满足,是任何语言都难以形容的。梦想,就这样在时间的见证下,一步步变成了现实。

结语:股市征途,一段永不落幕的励志传奇

股市,这个梦想与现实交织的舞台,见证了无数投资者的成长与蜕变。它教会了我们勇气、智慧、耐心与坚持。在这里,我们学会了以梦为马,不负韶华,用汗水与智慧,书写着属于自己的励志传奇。无论未来的路有多么艰难,只要我们心怀梦想,勇往直前,就一定能在股市的征途中,找到属于自己的那片星辰大海。

股市征途,是一段永不落幕的旅程。让我们携手并进,以梦为马,不负韶华,共同书写属于我们的股市励志篇章!


通达信精品指标公式交流
股民学习基地,每天提供通达信精品指标和各类学习资料,股市没有超凡神人,只有日积月累的沉淀!股道运用之妙存乎一心!
 最新文章