C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {m:5,100,60}
- B:=c>ref(c,1);
- D:=c=ref(c,1);
- E:=c<ref(c,1);
- F:=count(B,M)+count(D,M)+count(E,M);
- 上升概率:100*count(B,M)/F;
- 下跌概率:100*count(E,M)/F;
- 平盘概率:100*count(D,M)/F;
- v1:=(c-LLV(L,9))/(HHV(H,15)-LLV(L,9))*100;
- v2:=sma(v1,3,1);
- v3:=sma(v2,3,1);
- A1:IF(c/ma(c,3)>=1.05 and ma(AMOUNT,3)/ma(AMOUNT,20)>1.5 and count(V3<20,20)>=1,100,0);
-