以下是大智慧龙抓手主图指标公式源码和使用说明

大智慧龙抓手主图指标公式源码:

   CN1:=HHV(V,5);CN2:=O>C;CN02:=C>O;CN03:=C=O;

   CN04:=((SUM(V,5)/CN1));CN05:=IF(CN04>0.3,1,0);

   CN06:=IF(CN2ANDCN05,V,0);CN07:=IF(CN02ANDCN05,V,0);

   CN08:=IF(CN03ANDCN05,V,0);

   AD:SUM(CN07,3),COLORYELLOW;DA:=SUM(CN06,3);

   AZ:(AD-DA),COLOR0000FF;AF:=AZ=AD;

   AX:=AD*0.6;SA:=BETWEEN(AZ,AD,AX);

   0,COLORGRAY;

   RSV2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*1000;

   W1:=SMA(RSV2,3,1);

   W2:=SMA(w1,3,1);

   W3:=3*W1-2*w2;

   W4:=LLV(w3,2)=LLV(w3,8);

   W5:=IF(crOSS(w3,REF(w3+0.01,1))ANDw4ANDw3<20,30,0);

   DRAWTEXT(CROSS(w3,REF(w3+0.01,1))ANDw4ANDw3<20,LOW-0.05,’龙’),ALIGN1,VALIGN0,COLORred;

   {以下内容设置五线谱}

   {B:(ma(close,5)+ma(close,3))/2;}

   A:=(ma(close,13)+ma(close,8))/2;

   牛熊线:=EMA(C,64);

   上轨:=牛熊线*1.2;

   上轨2:=牛熊线*1.41;

   下轨:=牛熊线*0.8;

   下轨1:=牛熊线*0.618;

   {以下设置操作线}

   操作线:EMA((SLOPE(CLOSE,21)*20+CLOSE),42),colorwhite;

   对照线:=ma(操作线,2);

   partline(操作线,对照线<=操作线),colorred,linethick1;

   支撑:=SMA(AMOUNT/vol/100,5,1)*0.85;

   压力:=SMA(AMOUNT/VOL/100,5,1)*1.1;

   超卖线:=SMA(AMOUNT/VOL/100,5,1)*0.79;

   {以下定义开盘跌停}

   DT:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

   跌停:=COUNT(DT<-9.98,1)=1;

   大幅跌:=count(dt<-6.4,1)=1;

   {以下定义超跌与抢反弹}

   严重超跌:=cross(low,超卖线);

   drawtext(严重超跌,low,’严重超跌’);

   超跌1:=low/超卖线<=1.048andnot(COUNT(DT<-9.98,1)=1)andnot(count(dt<-7,1)=1);

   drawtext(超跌1,low,’←超跌’);

   超跌3:=(cross(l,支撑)orlow/超卖线<=1.03)and(low/下轨<=1.02orlow/下轨1<=1.02)andnot(COUNT(DT<-9.98,1)=1)andnot(count(dt<-6,1)=1);

   drawtext(超跌3,low*0.98,’←抢反弹’),colorwhite;

   超级短线:=(cross(l,支撑)orcross(low,超卖线)orlow/支撑<=0.98orlow/超卖线<=0.98)andlow/open>=0.95and(count(dt<-8,1)=1)andnot(COUNT(DT<-9.98,2)=2);

   drawtext(超级短线,low,’←龙抓手’),colorred;

   ;

   {财神:=(操作线/low>=1.40);

   drawtext(财神,low,’财’),colorgreen;

   drawtext(财神,low*0.95,’神’),colorgreen;

   drawtext(财神,low*0.9,’到’),colorgreen;}

   {以下定义主升}

   drawtext((cross(a,操作线)andA>操作线),low,’【大蓄】’),colorwhite,ALIGN1,VALIGN0;

   {以下设置老鼠仓};

   AA1:=AMOUNT/V;

   BB1:=L1.2;

   DD1:=L<MA(C,5)*0.921;

   EE1:=V<MA(V,5)*1.5;

   老鼠仓:BB1ANDCC1ANDDD1ANDEE1,LINETHICK0,COLOR0099ff;

   DRAWTEXT(老鼠仓,low,’☆’),ALIGN1,VALIGN0,COLOR0099ff;

   {以下定义顶底背离}

   LC:=REF(CLOSE,1);rsi:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(Abs((CLOSE-LC)),3,1))*100);

   FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW*0.99),’底背离’),COLORA6E500;

   DRAWTEXT(CROSS(88,RSI),(HIGH*1.02),’顶背离’),COLOR1880FF;

   {以下定义坚决买进}

   var77:=ema(amount/vol/100,3);

   var88:=ema(var77,88);

   var99:=ema(var77,88)*0.85;

   varah:=var99*0.87;

   varbh:=low<varahandclose>ref(close,1)*1.02;

   drawtext(filter(varbh,6),l-0.08,’←买’),colorff00ff;

   {以下设置强势狙击}

   BB05:=atan(((MA(C,5))/ref((MA(C,5)),1)-1)*100)*180/3.1416;

   BB10:=atan(((MA(C,10))/ref((MA(C,10)),1)-1)*100)*180/3.1416;

   BB30:=atan(((MA(C,30))/ref((MA(C,30)),1)-1)*100)*180/3.1416;

   强势狙击:=filter(BB30>30andBB10>45andcross(BB05,60),10);

   drawtext(强势狙击,LOW*0.98,’←强势’),colorwhite;

   {以下定义资金进场}

   VAR3e:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));

   VAR4e:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));

   VAR5e:=VAR3e>REF(VAR4e,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);

   DRAWTEXT(VAR5eANDCOUNT(VAR5e,30)=1,low,’资金进场’),COLORYELLOW;

   {以下设置k线颜色}

   stickline((open>=close),close,open,9,7),colorff5b00;

   stickline((open>=close),close,open,8,0),colorff6c00;

   stickline((open>=close),close,open,7,0),colorff7b00;

   stickline((open>=close),close,open,6,0),colorff9c00;

   stickline((open>=close),close,open,5,0),colorffbe00;

   stickline((open>=close),close,open,3.5,0),colorffcc00;

   stickline((open>=close),close,open,1.5,0),colorffff00;

   stickline((close>=open),close,open,9,0),color070084;

   stickline((close>=open),close,open,8,0),color0000a3;

   stickline((close>=open),close,open,7,0),color0000b7;

   stickline((close>=open),close,open,6,0),color0000cd;

   stickline((close>=open),close,open,5,0),color0000e9;

   stickline((close>=open),close,open,3,0),color0754e9;

   stickline((close>=open),close,open,1.5,0),color076ef3;

   stickline((close>=open),close,open,1,0),color077bf3;

   stickline((close>open),open,low,1,0),color0726ca;

   stickline((close>open),close,high,1,0),color0726ca;

   stickline((open>close),close,low,1,0),colorde9100;

   stickline((open>close),open,high,1,0),colorde9100;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),close,open,9,0),color0090ff;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),close,open,8,0),color009fff;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),close,open,4,0),color00b5ff;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),close,open,2,0),color00e4ff;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),open,low,0.7,0),color00ffff;

   stickline(((((close/open)>1.04)and(close<(sma(high,21,2)*1.05)))and((close-ref(close,1))>0)),close,high,0.7,0),color00ffff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),open,low,0.7,0),colorff76ff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),close,high,0.7,0),colorff76ff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),close,open,9,0),colorff00ff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),close,open,6,0),colorff62ff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),close,open,4,0),colorff76ff;

   stickline(((((close<ref(close,1))and(close<ref(close,1)))and(high>(sma(high,21,2)*1.05)))and(close<(sma(high,21,2)*1.05))),close,open,2,0),colorffa8ff;

C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<CANDREF(DIFF,C1+1)>DIFFANDCROSS(DEA,DIFF);DRAWICON(FILTER(D1>0,5),H*1.07,12);DRAWTEXT(FILTER(D1>0,5),H*1.07,’M顶’),COLOR0066FF;{MACD顶背离}C2:=BARSLAST(REF(CROSS(“kdj.D”(9,3,3),”kdj.K”(9,3,3)),1));D2:=REF(C,C2+1)<CANDREF(“kdj.K”(9,3,3),C2+1)>”kdj.K”(9,3,3)ANDCROSS(“kdj.D”(9,3,3),”kdj.K”(9,3,3));DRAWICON(FILTER(D2>0,5),H*1.05,12);DRAWTEXT(FILTER(D2>0,5),H*1.05,’K顶’),COLORRED;{顶背离}C3:=BARSLAST(REF(CROSS(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24)),1));D3:=REF(C,C3+1)<CANDREF(“RSI.RSI1″(6,12,24),C3+1)>”RSI.RSI1″(6,12,24)ANDCROSS(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24));DRAWICON(FILTER(D3>0,5),H*1.03,12);DRAWTEXT(FILTER(D3>0,5),H*1.03,’R顶’),COLORFF00FF;{RSI顶背离}

大智慧龙抓手主图指标公式截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。