股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网通达信公式 → 正文

底部区域低位金叉 通达信副图/选股源码

发布时间:2022/10/21 19:20:48  浏览次数:
底部区域低位金叉 通达信副图/选股源码
源码
{底部区域低位金叉}

VAR1:=(EMA(C,5)-EMA(C,26))*100;
IF(VAR1>=0,VAR1*0.8,0),COLOREEEEFF;
IF(VAR1>=0,VAR1*0.7,0),COLORDDDDFF;
IF(VAR1>=0,VAR1*0.6,0),COLORCCCCFF;
IF(VAR1>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR1>=0,VAR1*0.4,0),COLORAAAAFF;
IF(VAR1>=0,VAR1*0.3,0),COLOR9999FF;
IF(VAR1>=0,VAR1*0.2,0),COLOR8888FF;
IF(VAR1>=0,VAR1*0.1,0),COLOR7777FF;
IF(VAR1<0,VAR1*0.8,0),COLORFFB0B0;
IF(VAR1<0,VAR1*0.7,0),COLORFF9D9D;
IF(VAR1<0,VAR1*0.6,0),COLORFF8E8E;
IF(VAR1<0,VAR1*0.5,0),COLORFF7D7D;
IF(VAR1<0,VAR1*0.4,0),COLORFF6A6A;
IF(VAR1<0,VAR1*0.3,0),COLORFF4D4D;
IF(VAR1<0,VAR1*0.2,0),COLORFF2D2D;
IF(VAR1<0,VAR1*0.1,0),COLORFF0000;
IF(VAR1>=0,VAR1*0.8,0),COLOREEEEFF;
IF(VAR1>=0,VAR1*0.7,0),COLORDDDDFF;
IF(VAR1>=0,VAR1*0.6,0),COLORCCCCFF;
IF(VAR1>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR1>=0,VAR1*0.4,0),COLORAAAAFF;
IF(VAR1>=0,VAR1*0.3,0),COLOR9999FF;
IF(VAR1>=0,VAR1*0.2,0),COLOR8888FF;
IF(VAR1>=0,VAR1*0.1,0),COLOR7777FF;
IF(VAR1<0,VAR1*0.8,0),COLORFFB0B0;
IF(VAR1<0,VAR1*0.7,0),COLORFF9D9D;
IF(VAR1<0,VAR1*0.6,0),COLORFF8E8E;
IF(VAR1<0,VAR1*0.5,0),COLORFF7D7D;

IF(VAR1<0,VAR1*0.4,0),COLORFF6A6A;
IF(VAR1<0,VAR1*0.3,0),COLORFF4D4D;
IF(VAR1<0,VAR1*0.2,0),COLORFF2D2D;
IF(VAR1<0,VAR1*0.1,0),COLORFF0000;
0,COLORFFA2AF;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长:=A+100;{分析家公式网www.gspt.Com}
短:=B+100;
中:=D+100;
底部区域:=(长<12 AND 中<8 AND (短<7.2 OR REF(短,1)<5) AND (中>REF(中,1) OR 短>REF(短,1)))
OR (长<8 AND 中<7 AND 短<15 AND 短>REF(短,1)) OR (长<10 AND 中<7 AND 短<1) ;
低位金叉:=长<15 AND REF(长,1)<15 AND 中<18 AND 短>REF(短,1) AND CROSS(短,长) AND 短>中
AND (REF(短,1)<5 OR REF(短,2)<5 ) AND (中>=长 OR REF( 短,1)<1 );
STICKLINE(FILTER(底部区域,25)=1,20,0,3.6,0 ),COLOR550055;
STICKLINE(FILTER(底部区域,25)=1,20,0,2.8,0 ),COLOR770077;
STICKLINE(FILTER(底部区域,25)=1,20,0,1.7,0 ),COLOR990099;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.9,0 ),COLORBB00BB;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.5,0 ),COLORDD00DD;
STICKLINE(FILTER(底部区域,25)=1,20,0,0.1,0 ),COLORFF00FF;
STICKLINE(FILTER(低位金叉,20)=1,35,0,3.6,0 ),COLOR003333;
STICKLINE(FILTER(低位金叉,20)=1,35,0,2.8,0 ),COLOR005555;
STICKLINE(FILTER(低位金叉,20)=1,35,0,1.7,0 ),COLOR007777;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.9,0 ),COLOR009999;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.5,0 ),COLOR00BBBB;
STICKLINE(FILTER(低位金叉,20)=1,35,0,0.1,0 ),COLOR00DDDD;
DRAWTEXT(FILTER(底部区域,25)=1,19,'.底部区域'),COLORRED,LINETHICK6;
DRAWTEXT(FILTER(低位金叉,20)=1,33,'.低位金叉'),COLORWHITE ,LINETHICK6;
低位金叉源码:
VAR1:=(EMA(C,5)-EMA(C,26))*100;


A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

长:=A+100;

短:=B+100;

中:=D+100;

底部区域:=(长<12 AND 中<8 AND (短<7.2 OR REF(短,1)<5) AND (中>REF(中,1) OR 短>REF(短,1)))

OR (长<8 AND 中<7 AND 短<15 AND 短>REF(短,1)) OR (长<10 AND 中<7 AND 短<1) ;

低位金叉:长<15 AND REF(长,1)<15 AND 中<18 AND 短>REF(短,1) AND CROSS(短,长) AND 短>中

AND (REF(短,1)<5 OR REF(短,2)<5 ) AND (中>=长 OR REF( 短,1)<1 );

底部区域源码
VAR1:=(EMA(C,5)-EMA(C,26))*100;


A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

长:=A+100;

短:=B+100;

中:=D+100;

底部区域:(长<12 AND 中<8 AND (短<7.2 OR REF(短,1)<5) AND (中>REF(中,1) OR 短>REF(短,1)))

OR (长<8 AND 中<7 AND 短<15 AND 短>REF(短,1)) OR (长<10 AND 中<7 AND 短<1) ;





附件里有1个副图和2个选股,选股公式的源码
底部区域低位金叉 通达信副图/选股源码

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.