青龍出海交易指標(biāo) 公式 源碼 跟隨買入賣出,趨勢向上最好使用[同花順公式]
青龍出海交易指標(biāo) 公式 源碼:
?
?
ZGD:=HHV(HIGH,90)*0.99;
?
ZGD2:=CONST(ZGD);
ZDD:=LLV(LOW,90);
ZDD2:=CONST(ZDD);
//{DRAWBAND(ZGD2,RGB(50,50,50),ZDD2,DRAWNULL);}
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
cxh1:=(C>REF(C,1) AND C>REF(C,2));
cxh2:=(REF(cxh1,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh3:=(REF(cxh2,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh4:=(REF(cxh3,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh5:=(REF(cxh4,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh6:=(REF(cxh5,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh7:=(REF(cxh6,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh8:=(REF(cxh7,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh9:=(REF(cxh8,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxhA:=(REF(cxh9,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxhB:=(REF(cxhA,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxhC:=(REF(cxhB,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxhD:=(C<REF(C,1) AND C<REF(C,2));//www.88gs,com
cxhE:=(REF(cxhD,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxhF:=(REF(cxhE,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh10:=(REF(cxhF,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh11:=(REF(cxh10,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh12:=(REF(cxh11,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh13:=(REF(cxh12,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh14:=(REF(cxh13,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh15:=(REF(cxh14,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh16:=(REF(cxh15,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh17:=(REF(cxh16,1) AND C<=REF(C,1) AND C>=REF(C,2));
cxh18:=(REF(cxh17,1) AND C>=REF(C,1) AND C<=REF(C,2));
cxh19:=REF(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,1) AND cxh1;
cxh1A:=((REF(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,1)) AND cxhD);
紅色持股:cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,NODRAW,COLOR0000FF;
青色觀望:cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,NODRAW,COLORFFFF00;
短買:cxh19,NODRAW,COLOR33FFCC;
品紅離場:cxh1A,NODRAW,COLORFF00FF;
上市日期年:REF(YEAR,BARSCOUNT(C)-1),NODRAW,COLOR0000FF;
月:REF(MONTH,BARSCOUNT(C)-1),NODRAW,COLORFF00FF;
日:REF(DAY,BARSCOUNT(C)-1),NODRAW,COLOR00FFFF;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),2.8,0),COLOR000088;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),2.6,0),COLOR000099;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),2.4,0),COLOR0000AA;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),2.2,0),COLOR0000BB;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),2.0,0),COLOR0000CC;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),1.8,0),COLOR0000DD;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),1.5,0),COLOR0000EE;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,C,REF(C,1),1,0),COLOR0000FF;
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,L,H,0.0,0),COLOR0000FF;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),2.8,0),COLOR888800;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),2.6,0),COLOR999900;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),2.4,0),COLORAAAA00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),2,2),COLORBBBB00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),2.0,0),COLORCCCC00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),1.8,0),COLORDDDD00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),1.5,0),COLOREEEE00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,C,REF(C,1),1,0),COLORFFFF00;
STICKLINE(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,L,H,0.0,0),COLORFFFF00;
STICKLINE(cxh19,REF(C,1),REF(C,2),2.8,0),COLOR33AACC;
STICKLINE(cxh19,REF(C,1),REF(C,2),2.6,0),COLOR33AACC;
STICKLINE(cxh19,REF(C,1),REF(C,2),2.4,0),COLOR33BBCC;
STICKLINE(cxh19,REF(C,1),REF(C,2),2,2),COLOR33CCCC;
STICKLINE(cxh19,REF(C,1),REF(C,2),2.0,0),COLOR33DDCC;
STICKLINE(cxh19,REF(C,1),REF(C,2),1.8,0),COLOR33EECC;
STICKLINE(cxh19,REF(C,1),REF(C,2),1.5,0),COLOR33FFCC;
DRAWTEXT(cxh19,REF(C,1),'∧短買'),colorwhite;
STICKLINE(cxh1A,REF(C,1),REF(C,2),2.8,0),COLORFF33FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),2.3,0),COLORFF44FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),2,0),COLORFF55FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),1.8,0),COLORFF66FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),1.5,0),COLORFF77FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),1.3,0),COLORFF88FF;
STICKLINE(cxh1A,REF(C,1),REF(C,2),1,0),COLORFF99FF;
DRAWTEXT(cxh1A,REF(C,1)+0.1,'離場'),coloryellow;
MA3:=MA(C,3);
YTSL:=(3*C+L+O+H)/6;
辰星線:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YTSL,20))/211,CIRCLEDOT,COLOR0000FF;
牽牛線:MA(C,26),CIRCLEDOT,COLORFF00FF;
等待:=IF(MA3>辰星線,辰星線,MA3);
IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR0000FF;
IF(辰星線>REF(辰星線,1),辰星線,DRAWNULL),LINETHICK2,COLOR0000FF;
IF(辰星線<REF(辰星線,1),辰星線,DRAWNULL),COLOR00FF00;
?
?
?
?
?
?
?
使用方法:顯示買賣點,跟隨買入賣出,趨勢向上最好使用。
?
?
公式導(dǎo)入教程: 【通達信公式源碼導(dǎo)入方法教程】 【同花順公式源碼導(dǎo)入方法教程】 【大智慧新一代公式源碼導(dǎo)入方法教程】
?
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信:cxhjy888 進行 有償收費 編寫!(注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
(注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容