请老师帮助做个选股公式

[通达信]
设置
1543 2 想好再说 Lv.3 发表于 · 2021-4-6 23:15 显示全部楼层 正序浏览 |
跳转到指定楼层
敬请高手做选股,选出当日 本阶段出现第一根“红边黄柱”的股票,谢谢!  例:300435   4月6日K线


X1:=MA(C,1);X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);X3:=MA(X2,3);X4:=(L+H+C*4)/6;
X5:=EMA(X4,12);X6:=EMA(X4,19);X7:=(X5-REF(X5,1))/REF(X5,1)*100;X9:=(X6-REF
(X6,1))/REF(X6,1)*100;G:=BARSLAST(CROSS(X7,0));X8:=REF(X4,G);A2:=3*EMA((C-LLV
(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV
(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-
EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(X9>=0
AND MA(CLOSE,20)>REF
(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>REF
(MA(CLOSE,120),1),HIGH,LOW-0.02,0,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,20)
>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>
REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,3,0),COLOR070084;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,2,0),COLOR0000A3;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000B7;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000E9;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,0.5,0),COLOR0754E9;
STICKLINE(X9>=0
AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1)
AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE,OPEN-0.001,0.2,0),COLOR68B8FF;
Z1:MA(CLOSE,5),COLOR00FFFF;Z2:MA(CLOSE,55),COLOR00FF00,LINETHICK2;

举报

使用道具 扔鸡蛋(0) 回复

想好再说
Lv.3
发表于 2021-4-7 10:07 复制 查看全部楼层
鹿鸣之音 发表于 2021-4-7 00:44
X1:=MA(C,1);
X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);
X3:=MA(X2,3);

非常感谢 ‘ 鹿鸣之音’ 高手老师!

举报

使用道具 扔鸡蛋(0) 回复

鹿鸣之音
Lv.3
发表于 2021-4-7 00:44 复制 查看全部楼层
X1:=MA(C,1);
X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);
X3:=MA(X2,3);
X4:=(L+H+C*4)/6;
X5:=EMA(X4,12);
X6:=EMA(X4,19);
X7:=(X5-REF(X5,1))/REF(X5,1)*100;
G:=BARSLAST(CROSS(X7,0));
X8:=REF(X4,G);
X9:=(X6-REF(X6,1))/REF(X6,1)*100;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5-A6);
XG:CROSS(X9,0) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>REF(MA(CLOSE,120),1);

举报

使用道具 扔鸡蛋(0) 回复

您需要登录后才可以回帖 登录

本版积分规则 《理想财富服务协议》《免责声明》

站长推荐 关闭 上一条 /7 下一条
回顶部 到页底
快速回复 返回顶部 返回列表