C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 主图指标-最佳套利:
- JJ:=(CLOSE+HIGH+LOW)/3;
- A:=EMA(JJ,10);
- B:=REF(A,1);
- STICKLINE(A>B ,A ,B ,10 ,0 ),COLORYELLOW;
- STICKLINE(A<B ,B ,A ,10 ,0 ),COLORBLUE;
- MA1:MA(CLOSE,3),COLORYELLOW;
- MA2:MA(CLOSE,19),COLOR00ff00;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 附图1-操盘要点:
- V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30);
- V9:=EMA(V8,7);
- VA:=(WINNER(120*C/100)-WINNER(100*C/100))*100;
- VB:=(-100)*(WINNER(120*C/100)-WINNER(100*C/100))+5;
- 底买入: IF(VA+VB< 7 AND CROSS(V8,V9) AND V9< -18 AND V9< VB,60,50);
- VC:=(2*C+H+L)/4;
- VD:=LLV(L,34);
- VE:=HHV(H,34);
- VF:=LLV(L,21);
- V10:=HHV(H,21);
- V11:=EMA((VC-VF)/(V10-VD)*100,5);
- V12:=EMA((VC-VD)/(VE-VD)*100,8);
- X:V11,colorwhite;
- 顶区:V12;
- STICKLINE(V11-V12+20>=20 ,V11-V12+20 ,20 ,5 ,0 ),COLORF000FF;
- V13:=EMA(V12,5);
- STICKLINE(V12>0 AND (V12-V13)>=0 ,80 ,78 ,6 ,0 ),COLORRED;
- STICKLINE(V12>0 AND (V12-V13)<0 ,80 ,78 ,6 ,1 ),COLORBLUE;
- STICKLINE(V12>0 AND (V12-V13)>=0 ,20 ,18 ,6 ,0 ),COLORRED;
- STICKLINE(V12>0 AND (V12-V13)<0 ,20 ,18 ,6 ,1 ),COLORBLUE;
- STICKLINE(V12>V13 , V12,V13,15 ,1 ),COLORGREEN;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 附图2-主力入货:
- VAR2:=REF(LOW,1);
- VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
- VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
- VAR5:=LLV(LOW,38);
- VAR6:=HHV(VAR4,38);
- VAR7:=IF(LLV(LOW,90),1,0);
- VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
- ST01:STICKLINE(1<VAR8,VAR8 ,0 ,20 ,1 ),COLORF000FF;