文章目录:
帮忙把大智慧指标转换成通达信
N1:=9;
N2:=5;
主力资金:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3), COLORRED,LINETHICK2;
即将爆发线: 65,COLOR00FF00;
起爆线:80,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(主力资金,起爆线),主力资金,'★爆发!') ,COLORYELLOW;
TMD:=C-REF(C,1);
金线:100*EMA(EMA(TMD,N1),N1)/EMA(EMA(ABS(TMD),N1),N1),COLORWHITE,LINETHICK1;
银线:MA(金线,N2),COLOR00FF00,LINETHICK1;
STICKLINE(金线银线 , 金线,银线 ,2.5,0),COLORRED,LINETHICK2;
STICKLINE(银线金线,金线,银线,2.5,0),COLORGREEN,LINETHICK2;
爆发线:30,COLORFF00FF,LINETHICK1;
起步线:0,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(起爆线,主力资金),起爆线,'★空仓!') ,COLORYELLOW;
抄底线:-25,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(金线,爆发线),金线,'★爆发!') ,COLORWHITE;
DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加仓') ,COLORWHITE;
DRAWTEXT(CROSS(金线,起步线),金线,'★加仓!') ,COLORWHITE;
DRAWTEXT(CROSS(金线,抄底线),金线,'★半仓!') ,COLORWHITE;
LC:= REF(C,1);
F1:=ZIG(3,10);
方向:IF((F1 REF(F1,1)),-40,105),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,COLORRED;
DRAWTEXT(CROSS(方向,抄底线),方向+20,'★逢高出场!') ,COLORWHITE;
DRAWTEXT(CROSS(金线,起爆线),金线,'★爆发!') ,COLORWHITE;
{已测试,复制可直接引用,如果回答满意,请记得给采纳}
通达信社保入场公式源码
社保入场公式
aa:=winner(c+c*15/100)*100;
bb:=winner(c+c*0/100)*100;
cc:=aa-bb;
dd:=(winner(c-c*0.1/100)-winner(c-c*15/100))*100;
ee:=cc3 and dd0.5 and ol;
a1:=dynainfo(6);
a2:=if(la1,0,if(ha1,1,(a1-l+0.01)/(h-l+0.01)));
a3:=v/winner(l);
a4:=ref(hhv(c,120),1);
a5:=ref(llv(c,120),1);
a6:=100*(c-a5)/(a4-a5);
a7:=a20 or a2=1;
a8:=a7 and a3/ref(a3,3)=3 and a680 ;
a9:=ref(a8,1) or ref(a8,2) or ref(a8,3) or ref(a8,4);
a10:=a8 and a9;
a11:=if(filter(a8,3),5,0);
a12:=if(filter(a10,3) or ee,10,0);
进场:a11;
加仓:a12;
社保机构进场日:stickline(a11,0,5,5,0),colorff7700;
社保机构加仓日:stickline(a12,0,15,5,0),colorff00ff;
stickline(a11,0,5,5,0),colorff7700;
stickline(a11,0,5,4.5,0),colorff8800;
stickline(a11,0,5,4,0),colorff9900;
stickline(a11,0,5,3.5,0),colorffaa00;
stickline(a11,0,5,3,0),colorffbb00;
stickline(a11,0,5,2.5,0),colorffcc00;
stickline(a11,0,5,2,0),colorffdd00;
stickline(a11,0,5,1,0),colorffee00;
stickline(a12,0,15,4.5,0),color102099;
stickline(a12,0,15,4,0),color1020aa;
stickline(a12,0,15,3.5,0),color1020bb;
stickline(a12,0,15,3,0),color1020cc;
stickline(a12,0,15,2.5,0),color1020dd;
stickline(a12,0,15,2,0),color1020ee;
stickline(a12,0,15,1,0),color1020ff;
drawtext(a11,8,'进场'),COLORYELLOW;
drawtext(a12,17,'加仓'),COLORWHITE;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
请教高手将这大智慧的指标改成通达信的指标,谢谢
A01:=DYNAINFO(7);
A02:=MA(AMOUNT/VOL/100,VOL/CAPITAL);
A03:=BARSCOUNT(CLOSE);
A04:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
A05:=IF((A0320),A04,0);
A06:=IF(((LOWA01)),0,IF(((HIGHA01)),1,((A01-LOW)+0.009)/((HIGH-LOW)+0.009)));
A07:=DMA(A06,VOL/CAPITAL)*100;
A08:=IF((A02A01),(100-A07),A07);
庄家走势线:IF(((((A070) AND (A07REF(A07,1)))) AND (A05=88)),A07,0),COLORWHITE,LINETHICK2;
逃离区:=(A07=A08)=0;
STICKLINE(逃离区,A07,A08,4,0),COLORGREEN;
STICKLINE((庄家走势线0),0,庄家走势线,4,1),COLORBLUE;
庄家建仓区:IF(((CROSS(庄家走势线,0) AND (OPEN=LOW)=0) AND (CLOSE=LOW)=0),88,0),COLORBLUE;
DRAWTEXT(CROSS(庄家走势线, 0.009),24,'-----注意'),COLOR00FF00;
DRAWICON(CROSS(庄家走势线, 0.009),24,1);
WW:=WINNER(LOW);
庄家暗动:IF(CROSS(WW,0.06),65,0),COLOR888888,STICK,LINETHICK3;
VAR1AA:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
SS:=SMA(VAR1AA,5,1);
VAR2A:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
XX:=SMA(VAR2A,2,1);
BBA:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8;
B1:=20;
BB1:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30);
庄家拉升:IF(CROSS(XX,B1),50,0),COLORRED,LINETHICK2;
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC3 AND DD0.5 AND (O=L)=0;
A1:=DYNAINFO(6);
A2:=IF(LA1,0,IF(HA1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A20 OR A2=1;
A8:=A7 AND A3/REF(A3,3)=3 AND A680;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
私募机构进场日:IF(FILTER(A8,3),1,0);
私募机构加仓日:IF(FILTER(A10,3) OR EE,1,0);
STICKLINE(私募机构进场日,0,60,5,0),COLOR00FF00;
STICKLINE(私募机构加仓日,0,80,5,0),COLORFF00FF;
DRAWTEXT(私募机构进场日,68,'私募进场'),COLORFFFF00;
DRAWTEXT(私募机构加仓日,87,'私募加仓'),COLORFF00FF;
VAR14:=TROUGHBARS(3,13,1);
VAR15:=PEAKBARS(3,13,1);
VAR16:=BARSLAST(VAR15VAR14);
VAR17:=PEAK(3,13,1);
VAR18:=(C-VAR17)/VAR17*100-13 AND REF(C,2)=REF(C,1) AND CREF(C,1);
庄家资金:IF(VAR18 AND REF(C,1)=LLV(C,VAR16) OR VAR14=1,50,100),COLORFF00FF;
(a12,17,'加仓'),COLORWHITE;股票公式专家团为你解答,希望能帮到你,祝投资顺利。请教高手将这大智慧的指标改成通达信的指标,谢谢A01:=DYNAINFO
cc00;stickline(a11,0,5,2,0),colorffdd00;stickline(a11,0,5,1,0),colorffee00;stickline(a12,0,15,4.5,0),color102099;stickline(a12,0,15,4
line(a11,0,5,2,0),colorffdd00;stickline(a11,0,5,1,0),colorffee00;stickline(a12,0,15,4.5,0),color102099;s
tickline(a12,0,15,1,0),color1020ff;drawtext(a11,8,'进场'),COLORYELLOW;drawtext(a12,17,'加仓'),COLORWHITE;股票公式专家团