- 帖子
- 38
- 阅读权限
- 255
- 相册
- 1
- 日志
- 0
- 记录
- 0
- 注册时间
- 2011-12-21
- UID
- 2
- 威望
- 200
- 金币
- 563
- 贡献
- 1195
- 在线时间
- 653 小时
- 最后登录
- 2024-2-19
- 分享
- 9
- 精华
- 0
- 积分
- 2158
- 主题
- 33
|
input:n(26,1,100),n1(4,1,100),n2(2,1,100);
Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,50))*100;
a: SMA(Var1,7,1),linethick2;
Var2:=SMA(a,5,1);
b: IF(CROSS(a,Var2) AND cross(ma(c,n1),ma(c,n2) and a>50) ,Var2*2,Var2),coloryellow;
VAR4:= EMA(CLOSE,10);
VAR5:= EMA(CLOSE,20);
草原黑码:if(CROSS(MA(CLOSE,1),MA(CLOSE,n)) and a-b>5 and var4>var5 ,Var2*2,var2),colorred;
持币a:(CROSS(MA(CLOSE,0),MA(CLOSE,n)) and a-b>2 and var4>var5 ),COLORGREEN;
持币b:(a<b)*20,colorgreen;
持股: (a>b)*20,COLORRED;
DRAWTEXT(CROSS(20,持股),low,' 持股 '),COLORYELLOW;
STICKLINE(a>Var2,a,b,30,60),colorred;
STICKLINE(a<Var2,a,Var2,30,60),colorgreen ;
|
|