以下是通达信财神到副图指标

A1:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
 A2:=(MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),2));
 A3:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
 A4:=SMA(SMA(A3,3,1),3,1);
 A5:=3*SMA(A3,3,1)-2*A4;
 A6:=EMA(A5,5);
 A7:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
 A8:=((3*SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1))-(2*SMA(SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1),3,1)));
财神爷:=A2<3 AND A6<3 AND A7<8.5 AND A8<5;
 DRAWTEXT(财神爷,50,’ ★恭候财神★’),COLORMAGENTA;
 DRAWTEXT(财神爷,35,’ ★招财童郎★’),COLORYELLOW;
 STICKLINE(财神爷,58,55,14,0),COLOR00CCCC;
 STICKLINE(财神爷,57,56,12,0),COLOR009999;
 STICKLINE(财神爷,45,48,4,0),COLOR0077AA;
 STICKLINE(财神爷,54,50,10,0),COLOR0088DD;
 STICKLINE(财神爷,55,48,6,0),COLOR00AAFF;
 STICKLINE(财神爷,53,52,4,0),COLOR000000;
 STICKLINE(财神爷,53,50,1,0),COLOR0077EE;
 STICKLINE(财神爷,60,55,7,0),COLOR8800CC;
 STICKLINE(财神爷,60,63,4,0),COLOR7700AA;
财神:IF(财神爷,58,DRAWNULL),LINETHICK4,POINTDOT,COLORYELLOW;
 STICKLINE(财神爷,26,20,12,0),COLORFFFFFF;
 STICKLINE(财神爷,33,25,14,0),COLOR8800CC;
 STICKLINE(财神爷,46,32,16,0),COLORAA00DD;
 STICKLINE(财神爷,37,34,8,0),COLOR00AAFF;
 STICKLINE(财神爷,50,44,2,0),COLOR000000;
 STICKLINE(财神爷,49,49,1,0),COLOR0000EE;
 DRAWICON(财神爷,39,9);

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