操盘线BS点
持股13线:EMA(CLOSE,13);
生命60线:EMA(CLOSE,60);
dif:=EMA(CLOSE,12)-EMA(CLOSE,26);
dea:=EMA(dif,9);
aa:=EMA(CLOSE,10);
多头:STICKLINE(dif>dea,CLOSE,OPEN,8,0),colorred;
STICKLINE(dif>dea,HIGH,LOW,0,0),colorred;
空头:STICKLINE(dif<=dea,CLOSE,OPEN,8,0),colorgreen;
STICKLINE(dif<=dea,HIGH,LOW,0,0),colorgreen;
STICKLINE(dif<=dea and aa>MA(CLOSE,50),CLOSE,OPEN,8,0),coloryellow;
STICKLINE(dif<=dea and aa>MA(CLOSE,50),HIGH,LOW,0,0),coloryellow;
DRAWTEXT(CROSS(dif,dea),LOW*0.995, 'B'),coloryellow,linethick3,align0;
DRAWTEXT(CROSS(dea,dif),HIGH*1.02, 'S'),colorgreen,linethick3,align0;
大牛拉升
大牛拉升:MA(C,5),colorFF00FF,linethick2;
持仓线:MA(H,21),coloryellow,linethick1;
空仓线:MA(L,21),color00ff00,linethick1;
EMA250:EMA(C,250),COLORBLUE,LINETHICK2;
跟庄王(新按部就班)
用法:1、底部拉升:操作线上穿龙王线。
2、快速拉升;龙王线上穿急升线买入;急升线下穿龙王线卖出。
龙王线: SMA(CLOSE,2,1),COLORGREEN,linethick2;
VAR4:=(LOW+HIGH+CLOSE)/3;
操作线: MA(VAR4,5),LINETHICK2,colorwhite;
急升:HHV(操作线,13),colorred,LINETHICK2;
阻力线:HHV(操作线,60),COLORRED;
买卖:LLV(操作线,13),LINETHICK1,COLOR00FF00;
底: LLV(LOW,60)*1.02,COLORYELLOW;
顶: HHV(HIGH,60)*0.98,COLORBLUE,linethick2;
{DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW,'B'),colorred,linethick3;
DRAWTEXT(bu,LOW,' ̄'),Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,' ̄'),ColorFFFF00,LINETHICK3;
drawtext(sel,HIGH,'S'),COLORMAGENTA,linethick3;
stickline(买线>=卖线,low,high,0.1,1),colorred;
stickline(买线>=卖线,close,open,8,1),colorred;
stickline(买线<卖线,close,open,8,0),color00ff00;
stickline(买线<卖线,low,high,0.1,1),color00ff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;
股海博击
上线:=c,;
下线:=c,;
上线1:=sma(c,3,1);
下线1:=sma(c,8,1);
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2;
stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;
DRAWTEXT( cross(上线,下线),low *0.98,'全仓买' ),color00ff00;
drawtext(cross(下线1,上线1),h*1.02,'清仓'),coloryellow;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),linethick2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),linethick2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORff9966,linethick2;
A7:=(2*C+H+L)/4;
操作:MA(a7,5),linethick2;
操作1:=MA(a7,5)*1.03,linethick2;
操作2:=MA(a7,5)*0.97,linethick2;
Var1:LLV(a7,21);
Var2:HHV(a7,21);
SK:=EMA((A7-Var1)/(Var2-Var1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(count(close6/10 and vol>=1.5*ma(vol,5) and
count(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,'买进') ,COLOR0099ff;
DRAWTEXT(IF(count(close6/10 and
count(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) and
ref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) and
open>ref(close,1),1,0),LOW*0.98,'买进') ,COLOryellow;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(if(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE
宝塔顶底
好公式(阶段买卖=宝塔顶底=趋势宝塔)源码}
var2:=llv(low,10); var3:=hhv(high,25); 阶段卖出: 3.2,colorcyan; 3.5,color0088ff; 清仓卖出: 3.5; 动力线:= ema((close-var2)/(var3-var2)*4,4); stickline(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorred; stickline(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorgreen; 底部介入:0.2,colorgreen; 重点关注: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,colordddddd; 趋势线
趋势线:3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,25,1)-2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,25,1),15,1),LINETHICK2;
进入低迷:IF(趋势线>底部区域:IF(CROSS(趋势线,10),20,0);
绝地反击:IF(CROSS(趋势线,15),50,0),colorred;
强势区域:IF(趋势线>=90,90,110),colorred;
STICKLINE(趋势线>=强势区域 ,趋势线,强势区域 ,1 ,0 ),colorred;
顶底买卖
来势线: 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 ; |