以下是同花顺红绿灯指标-四灯全亮买入

同花顺红绿灯指标-四灯全亮买入

四个绿灯全亮买入,红灯停 绿灯行 黄灯观望

源码

F15A:=MAX(MA(C,5),MA(C,10));

F15B:=MIN(MA(C,5),MA(C,10));

绿灯行F15:C>F15A,colorgreen;

红灯停F15:C<F15B,colorred;

黄灯观望F15:C>=F15B AND C<=F15A,coloryellow;

STICKLINE(C>F15A,3.3,4,8,0),colorgreen,LINETHICK2;

STICKLINE(C<F15B,3.3,4,8,0),colorred,LINETHICK2;

STICKLINE(C>=F15B AND C<=F15A,3.3,4,8,0),coloryellow,LINETHICK2;

F30A:=MAX(MA(C,10),MA(C,20));

F30B:=MIN(MA(C,10),MA(C,20));

绿灯行F30:C>F30A,colorgreen;

红灯停F30:C<F30B,colorred;

黄灯观望F30:C>=F30B AND C<=F30A,coloryellow;

STICKLINE(C>F30A,2.3,3,8,0),colorgreen,LINETHICK2;

STICKLINE(C<F30B,2.3,3,8,0),colorred,LINETHICK2;

STICKLINE(C>=F30B AND C<=F30A,2.3,3,8,0),coloryellow,LINETHICK2;

F60A:=MAX(MA(C,20),MA(C,28));

F60B:=MIN(MA(C,20),MA(C,28));

绿灯行F60:C>F60A,colorgreen;

红灯停F60:C<F60B,colorred;

黄灯观望F60:C>=F60B AND C<=F60A,coloryellow;

STICKLINE(C>F60A,1.3,2,8,0),colorgreen,LINETHICK2;

STICKLINE(C<F60B,1.3,2,8,0),colorred,LINETHICK2;

STICKLINE(C>=F60B AND C<=F60A,1.3,2,8,0),coloryellow,LINETHICK2;

FRA:=MAX(MA(C,60),MA(C,120));

FRB:=MIN(MA(C,60),MA(C,120));

绿灯行FR:C>FRA,colorgreen;

红灯停FR:C<FRB,colorred;

黄灯观望FR:C>=F30B AND C<=F30A,coloryellow;

STICKLINE(C>FRA,0,1,8,0),colorgreen,LINETHICK2;

STICKLINE(C<FRB,0,1,8,0),colorred,LINETHICK2;

STICKLINE(C>=FRB AND C<=FRA,0,1,8,0),coloryellow,LINETHICK2;

DPB:=MIN(MA(INDEXC,60),MA(INDEXC,120));

绿灯行DP:INDEXC>DPA,colorgreen;

红灯停DP:INDEXC<DPB,colorred;

黄灯观望DP:INDEXC>=DPB AND INDEXC<=DPA,coloryellow;

STICKLINE(INDEXC>DPA,4.3,5,8,0),colorgreen,LINETHICK2;

STICKLINE(INDEXC<DPB,4.3,5,8,0),colorred,LINETHICK2;

STICKLINE(INDEXC>=DPB AND INDEXC<=DPA,4.3,5,8,0),coloryellow,LINETHICK2;

同花顺红绿灯指标-四灯全亮买入

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。