首先声明一点,本指标中的“WINNER”数项并不是市面上所谓的“未来函数”,而是一种准未来函数,只要你软件上的数据经常保持更新,是不会导致买卖信号消失或是飘移的,请放心使用!
指标名称:主力盈亏
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- Var1:=EMA(WINNER(CLOSE)*70,3);
-
- Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
-
- Var3:=CLOSE/MA(CLOSE,40)*100<74;
-
- Var4:=CLOSE/MA(CLOSE,60)*100<72;
-
- Var5:=HIGH>LOW*1.051;
-
- Var6:=Var5 AND COUNT(Var5,5)>1;
-
- my1:=Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;
-
- my2:=if(ref(my1,1)or ref(my1,2) ,(close/ref(close,1)<0.95 or close/ref(close,2)<0.95 ),1);
-
- 主力盈亏:my1 and my2;