炒股的第一步就是要懂得如果管理好自己的资金 汇盈资金 通达信指标 源码 贴图
2018-05-10 09:22:00来源:本站整理浏览:374
炒股的第一步就是要懂得如果管理好自己的资金 汇盈资金 通达信指标 源码 贴图
NOTEXT1:=HHV(EMA(CLOSE,17),2);
NOTEXT2:EMA(CLOSE,17),COLORRED,LINETHICK3;
NOTEXT3:IF(NOTEXT1=NOTEXT2 AND UPNDAY(NOTEXT1,3),NOTEXT1,DRAWNULL),COLORRED,LINETHICK3;
NOTEXT4:IF(REF(NOTEXT1,2)>NOTEXT2,NOTEXT2,DRAWNULL),COLORGREEN,LINETHICK3;
LC:=REF(CLOSE,1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSI:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
DBTJ1:=RSI>=75;
DBTJ2:=J>=95;
B1:=EMA(CLOSE,12)-EMA(CLOSE,26);
B2:=EMA(B1,3);
ZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
RSI1:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
TDSZ:=B1>B2 OR B1=B2 AND ZF>9 AND ZF<11 AND 40<RSI1 AND RSI1<60 AND CLOSE=HIGH;
RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
B11:=SMA(RSV13,4,1);
B22:=SMA(B11,3,1);
CDTJ:=CLOSE>=OPEN AND CROSS(B11,B22) AND B22<=50;
TOPB:=IF(DBTJ1 OR DBTJ2 AND (CLOSE+NOTEXT2)/2<NOTEXT2,(3*NOTEXT2-CLOSE)/2,(CLOSE+NOTEXT2)/2);
BOTB:=IF(CDTJ OR TDSZ AND (CLOSE+NOTEXT2)/2>NOTEXT2,(3*NOTEXT2-CLOSE)/2,(CLOSE+NOTEXT2)/2);
TDXSTEP137:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,2.3,0),COLORA4A4A4;
TDXSTEP138:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,2,0),COLORB6B6B6;
TDXSTEP139:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,1.7,0),COLORB8B8B8;
TDXSTEP140:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,1.4,0),COLORCACACA;
TDXSTEP141:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,1.1,0),COLORF4F4F4;
TDXSTEP142:STICKLINE(NOT(DBTJ1) AND NOT(DBTJ2) AND NOT(CDTJ) AND NOT(TDSZ),NOTEXT2,NOTEXT2*1.009,0.8,0),COLORF6F6F6;
TDXSTEP143:STICKLINE(RSI>=75,NOTEXT2,TOPB,2.3,0),COLOR000057;
TDXSTEP144:STICKLINE(RSI>=75,NOTEXT2,TOPB,2,0),COLOR00007D;
TDXSTEP145:STICKLINE(RSI>=75,NOTEXT2,TOPB,1.7,0),COLOR00008C;
TDXSTEP146:STICKLINE(RSI>=75,NOTEXT2,TOPB,1.4,0),COLOR0000A1;
TDXSTEP147:STICKLINE(RSI>=75,NOTEXT2,TOPB,1.1,0),COLOR0000B5;
TDXSTEP148:STICKLINE(RSI>=75,NOTEXT2,TOPB,0.8,0),COLOR0000CC;
TDXSTEP149:STICKLINE(J>=95,NOTEXT2,TOPB,2.3,0),COLOR570057;
TDXSTEP150:STICKLINE(J>=95,NOTEXT2,TOPB,2,0),COLOR660066;
TDXSTEP151:STICKLINE(J>=95,NOTEXT2,TOPB,1.7,0),COLOR7D007D;
TDXSTEP152:STICKLINE(J>=95,NOTEXT2,TOPB,1.4,0),COLOR990099;
TDXSTEP153:STICKLINE(J>=95,NOTEXT2,TOPB,1.1,0),COLORBD00BD;
TDXSTEP154:STICKLINE(J>=95,NOTEXT2,TOPB,0.8,0),COLORMAGENTA;
TDXSTEP155:STICKLINE(CDTJ,NOTEXT2,BOTB,2.3,0),COLOR004040;
TDXSTEP156:STICKLINE(CDTJ,NOTEXT2,BOTB,2,0),COLOR006464;
TDXSTEP157:STICKLINE(CDTJ,NOTEXT2,BOTB,1.7,0),COLOR00A8A8;
TDXSTEP158:STICKLINE(CDTJ,NOTEXT2,BOTB,1.4,0),COLOR00DBDB;
TDXSTEP159:STICKLINE(CDTJ,NOTEXT2,BOTB,1.1,0),COLOR15FFFF;
TDXSTEP160:STICKLINE(CDTJ,NOTEXT2,BOTB,0.8,0),COLOR4DFFFF;
TDXSTEP161:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,2,0),COLORCYAN;
TDXSTEP162:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,1.5,0),COLOR990000;
TDXSTEP163:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,1.8,0),COLORCC0000;
TDXSTEP164:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,0.3,0),COLORFF4400;
TDXSTEP165:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,2,0),COLORFF8800;
TDXSTEP166:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,1.5,0),COLORFFCC00;
TDXSTEP167:STICKLINE(TDSZ,NOTEXT2,BOTB*0.98,0.8,0),COLORCYAN;
{-----------------------------------}