极品波段 品种强弱(附图源码)
{牛牛指标网提供:www.tdx001.com}
品种强弱
复制内容到剪贴板
- 个股:EMA(100*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),3),COLOR1010FF,LINETHICK2;
- 大盘:EMA(100*(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9)),3),COLORE67010,LINETHICK2;
- STICKLINE(CROSS(个股,大盘),0,50,2,0),COLOR0000FF;
- DRAWTEXT(CROSS(个股,大盘),70,'准黑马'),COLOR0000FF;
- HM:=大盘<40;
- STICKLINE(((CROSS(个股,大盘)) AND HM ),0,30,3,0),COLORFFFFFF;
- DRAWBAND(个股,RGB(255,50,250),大盘,RGB(100,250,0));
- 50;
- 97;
- 90;
- 20;
B272039243.png
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- 极品波段
-
- 底部:10;
- 卖出线: 99;
- 趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
- *100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))
- /(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR0000FF,LINETHICK2;
- 买入警戒:IF(趋势1<=10,20,0),COLOR00FFFF;
- 卖出警戒: IF(趋势1>=90,80,100),COLOR00FF00;
- RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
- VARA:=REF(LOW,1);
- VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
- VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
- K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2;
- D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2;
- J:=3*K-2*D,LINETHICK2,COLORFFFFFF;
- VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
- 高抛: 80;
- VAR2:=LLV(LOW,34);
- VAR3:=HHV(HIGH,34);
- SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF;
- SD: EMA(SK,3),LINETHICK2,COLOR00FF00;
- DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0));
- STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3;
- DRAWTEXT(CROSS(J,3),55,'跟庄');
- VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- VAR2N:=EMA(VAR1N,30);
- VAR3N:=EMA(VAR2N,30);
- VAR4N:=3*VAR2N-2*VAR3N;
- 势:EMA(VAR4N,5),COLORBLUE,LINETHICK3;
- VAR5:=LLV(LOW,10);
- VAR6:=HHV(HIGH,25);
- 决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2;
- DRAWTEXT(CROSS(80,决策线),105,'闪'),COLOR00FF00;
- DRAWICON(CROSS(80,决策线),110,2);
- STICKLINE(势>80,势,80,1,0),COLORGREEN;
- STICKLINE(势<10,势,10,1,0),COLOR00FFFF;
- DRAWTEXT(CROSS(10,势),35,'进'),COLOR000FFF;
- DRAWICON(CROSS(10,势),0,1);
C672039403.png
|