【大智慧】波段操作指標公式
攻城獅 2015.12.04 04:50
N:=7;M:=5;
SW1:= (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
pp:=sum((close-sw1)/SW1*100+20,1);
gg:=sum((h-sw1)/SW1*100+20,1);
dd:=sum((l-sw1)/SW1*100+20,1);
gc:=sum(pp-gg,1);
dc:=sum(pp-dd,1);
pp1:=sum(close-sw1,1);
ll:=ma(pp1,8);
tt:=(c-SW1)/SW1*100;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
B:=SMA(VAR1,N,1);
BB:=SMA(B,M,1);
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMs:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
MM:=EMA(MMS,8);
波段啟動:IF(CROSS(pp1,ll) AND MM<40 AND BB<40 AND LL<0 ,-15,-20);
DB:=IF((tt<-10),-11,-20);
底部區(qū)域:=ref(DB,1);
DRAWTEXTABS(5,5,’概念股網(wǎng) www.chiang1015.com’),linethick1,COLOR00EEff;
頂部區(qū)域:=IF(CROSS(LL,PP1) AND BB>60 AND MM>70 AND LL>0 ,15,20);
STICKLINE(FILTER(波段啟動=-15,1) ,-15,-20,7,0),COLORRED;
STICKLINE(FILTER(頂部區(qū)域=15,1) ,15,20,7,0),COLORGREEN;
STICKLINE(FILTER(底部區(qū)域=-11,1) ,-11,-20,7,0),COLORYELLOW;
明天買入:=IF((gc<-6),-9,-20);
明天買入2:=IF((gc<-6 AND BB<40 AND MM<40 ),-9,-20);
明天賣出:=IF((dc>6 AND BB>40 AND MM>60),9,20);
逢低搶反彈:ref(明天買入,1),COLORYELLOW,LINETHICK1;
反彈行情:ref(明天買入2,1),COLORRED,LINETHICK1;
風險:ref(明天賣出,1),COLORgreen,LINETHICK1;
DRAWICON(FILTER(反彈行情=-9 AND BB<40 AND MM<40 ,1),-6,10);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。