低买高卖 短线(副图 源码 帖图)

[复制链接]
查看51 | 回复0 | 2022-7-11 12:52:31 | 显示全部楼层 |阅读模式
UP:=(C>O OR C>REF(C,1)) AND V>REF(V,1);
AA:=COUNT(UP,5)=5;
BB:=LLV(L,5)=LLV(L,132);
CC:=C>MA(C,5);
LLT:=AA AND BB AND CC;
{头部}
V1:=LLV(LOW,5);
V2:=HHV(H,22);
保守卖点↘:3.00,LINETHICK2,COLORYELLOW;
激进卖点↘:3.50,LINETHICK2,COLORBLUE;
价位线:EMA((C-V1)/(V2-V1)*4,4),LINETHICK1;
M5:=MA(价位线,5);
金山:LLT,LINETHICK1,COLORGREEN;
买点线↗:0.50,LINETHICK2,COLORRED;
VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR3:=(-100)*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))+100;
VAR4:=(-100)*(HHV(HIGH,22)-CLOSE)/(HHV(HIGH,22)-LLV(LOW,22))+100;
VAR5:=(-100)*(HHV(HIGH,66)-CLOSE)/(HHV(HIGH,66)-LLV(LOW,66))+100;
VAR6:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,22))/MA(CLOSE,22)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,66))/MA(CLOSE,66)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARA:=EMA(VAR9,5);
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR2>0 AND VARE<0,200,0);
VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR11:=IF(VARE<0 AND VAR10=-50,100,0);
VAR12:=MA(CLOSE,5);
VAR13:=REF(CLOSE,3)*0.865;
VAR14:=REF(CLOSE,10)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR17:=MA(CLOSE,10);
VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);
VAR19:=IF(VAR18>0 AND (VAR10<0 OR VAR2>0),100,0);
VAR1A:=VAR19;
VAR1B:=IF(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0) AND VAR19<10,50,0);
VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);
VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
大底区域 :( VAR1C OR VAR1D )*3,LINETHICK2,COLORRED;
X1:CROSS(价位线,买点线↗);
DRAWTEXT(X1,价位线,'底部买入↗'),COLORRED;
X2:=CROSS(激进卖点↘,价位线);
DRAWTEXT(X2,激进卖点↘,'↘减仓'),COLORYELLOW;
X3:=CROSS(保守卖点↘,价位线);
DRAWTEXT(X3,保守卖点↘,'↘清仓'),COLORGREEN;

20109158281882008.jpg

20109158281882008.jpg
低买高卖②-副
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,22);
阶段卖出: 3.2,COLORC6C600;
3.5,COLOR0088FF;
清仓卖出: 3.5,COLORFF75FF;
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00;
底部:0.2,COLOR70DB93;
关注:0.5,COLORYELLOW;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLORA8A8A8;

20109158282975965.jpg

20109158282975965.jpg
低买高卖③-副
顶:82,COLORFFFF00,LINETHICK1;
顶A:90,COLORFF0000,LINETHICK3;
低:18,COLOR208FFF,LINETHICK1;
0;
TJ1:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
TJF:=SMA(TJ1,13,8);
TJFF:=SMA(TJ1,13,4);
DRAWBAND(TJF,RGB(255,0,0),TJFF,RGB(0,100,50));
中轴:45,COLOR555555;
AR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
AR2:=SMA(AR1,3,1);
AR3:=SMA(AR2,3,1);
AR4:=SMA(AR3,3,1);
MMCD:=3*(AR3-AR4);
STICKLINE(MMCD>0,MMCD+45,45,0.0,1),COLOR0000DD;
STICKLINE(MMCD<0,MMCD+45,45,0.0,1),COLORDDDD00;
DRAWTEXT(ISLASTBAR AND TJF>REF(TJF,1),TJF,' ↑'),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND TJF<REF(TJF,1),TJF,' ↓'),COLORCYAN;
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORFFFF00;
DRAWTEXT(ISLASTBAR,低,'低'),COLOR208FFF;
DRAWICON(CROSS(TJF,89),TJF,4);
DRAWICON(CROSS(低,TJF),TJF,5);

20109158284060024.jpg

20109158284060024.jpg

20109158285842105.rar

4.42 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20109158285842105.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则