主题583
精华0
阅读权限120
注册时间2015-3-30
在线时间0 小时
最后登录2017-1-4
美元3
爱心果8455
贡献0
- 积分
- 10397
指标研习组
- 听众
- 4
|
30爱心果
指标源码
M:=36;
N1:=13;
N:=100;
M1:=5;
SHORT:=21;
LONG:=44;
MID:=11;
D:=11;
趋线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORAABBDD,NODRAW;
AA:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-30) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-30,趋线),1) AND CROSS(趋线,-30)) OR 趋线=-30;
底部:=IF(AA,65,12),COLORYELLOW,LINETHICK2;
BB:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-20 AND 趋线>-25) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-20,趋线),1) AND CROSS(趋线,-20));
见底:=IF(BB,58,12),COLORRED,LINETHICK2;
CC:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-25 AND 趋线>-30) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-25,趋线),1) AND CROSS(趋线,-25));
机会:IF(CC,40,12),COLOR00FF00;
快到底:IF(CROSS(-20,趋线),75,12),LINETHICK2,COLORF0F000;
DRAWTEXT(CROSS(-20,趋线),80,'快到底'),COLORF0F000;
来临:IF(CROSS(-25,趋线),80,12),LINETHICK2,COLORF00FF0;
DRAWTEXT(CROSS(-25,趋线),90,'来临'),COLORF00FF0;
黄金:IF(CROSS(-30,趋线),55,12),LINETHICK2,COLORWHITE;
DRAWTEXT(CROSS(-30,趋线),55,'黄金'),COLORWHITE;
C1:=((MA(C,30)-L)/MA(C,60))*200;
临界点:IF(C1>30,30,12),LINETHICK2,COLORRED; |
最佳答案
查看完整内容
{黄金信号预警}
趋线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
预警: CROSS(-30,趋线);
|