C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 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复制内容到剪贴板
- 卖点
- Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
- Q3:=SMA(Q2, 9, 1);
- Q4:=SMA(Q3, 3, 1);
- 长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
- 趋势线:EMA(Q3, 3),COLORRED,LINETHICK3;
- DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '顶'),COLORRED,LINETHICK5;
- 逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'逢低买'),LINETHICK1;
- 买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1;
- VAR3:=PEAKBARS(3,15,1)<10;
- VAR5:=IF(VAR3=1,2,0);
- 顶:= IF(VAR5=2,2,0);
- 顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;
- DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;
- 金叉: CROSS(长趋势,趋势线);
- DRAWTEXT(金叉,趋势线,'★'),COLORRED;
-
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 买点
- 来势线: EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW;
- 福星: EMA(来势线,7), COLORSTICK,COLORRED;
- VAR1:=CLOSE/REF(LLV(LOW,35),5)< 1;
- 决策: IF(VAR1,0.5,0), STICK,COLORBLUE;
- 必买: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1),COLORYELLOW ,LINETHICK1 ;
- 必卖: IF(PEAKBARS(3,15,1)=1,1,2),COLORWHITE,LINETHICK1;
- 趋势线: (EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,COLORRED;
- 逃顶线: EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR007000 ,LINETHICK1 ;
- AA:0,COLORBROWN;
- DRAWICON(CROSS(趋势线,AA),AA,1);
- DRAWICON(CROSS(逃顶线,趋势线),逃顶线,2);
-