散户操盘指标源码(如何将“益盟操盘手操盘线BS买卖点”源码修改为通达信指标?)
1. 如何将“益盟操盘手操盘线BS买卖点”源码修改为通达信指标?
不能因为“益盟操盘手操盘线BS买卖点”是一种自主研发的程序代码,与通达信指标系统不兼容,无法直接进行修改。同时,益盟操盘手和通达信是两个不同的软件平台,设计理念和功能特性也有很大的区别,若要将“益盟操盘手操盘线BS买卖点”移植到通达信中需要经过复杂的程序转换和功能重构,难度很大,不现实。如果您需要使用该指标,请优先选择使用益盟操盘手软件。
2. kdj指标源码?
首先与基本的kdj指标类似,有K/d/j三条指标线的走势变化,还有一种尖角指示的指标线在个股的走势过程中,标注出指标线提示的买卖点位置,具体的源码如下:
D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);
J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
八字KDJ4:EMA(D,3),COLOR00FF00,LINETHICK2;
M:EMA(J,7),COLORWHITE,LINETHICK2;
八字KDJ: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)
-50)*1.032+50),COLORRED,LINETHICK2;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLORWHITE;
STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
八字kdj操盘图走势
COLORYELLOW;
VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
RR:=EMA(EMA(CLOSE,9),9);
控盘:=(RR-REF(RR,1))/REF(RR,1)*1000;
A10:=CROSS(控盘,0);
买两股:IF(A10,50,0),LINETHICK1,COLORYELLOW;
AR1:=PEAKBARS(3,15,1)<10;
AR2:=IF(AR1=1,2,0);
顶:= IF(AR2=2,2,0);
卖出好:IF(顶>REF(顶,1),50,0),COLORWHITE;
DRAWTEXT(卖出好=45,50,'快走'),COLORRED;
买: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)
*50,STICK,COLORMAGENTA,LINETHICK3;
卖: (ZIG(3,35)REF(ZIG(3,35),2))
*50,STICK,COLORLIBLUE,LINETHICK3;
VAR21:=MA(CLOSE,80)-(MA(CLOSE,13))/(3);
VAR22:=MA((CLOSE-VAR21)/(VAR21),1);
VAR23:=(EMA(VAR22,12))*(0.69999998);
VAR24:=EMA(VAR22,3);
VAR25:=IF((LLV(VAR24-VAR23,12)>0),0,(-30));
VAR26:=FILTER((COUNT((VAR25<(-20)),3)=3),34);
快全买:IF(VAR26,50,0),COLORLICYAN;
顶线:100,COLORRED;
底线:0,COLORGREEN;
3. 超级主力指标源码公式?
DRAWGBK(1,STRIP(RGB(30,0,60),RGB(0,40,40),2));
//平均:TOSTRING((REF(H,1)+REF(L,1)+REF(O,1)+REF(C,1))/4,2),colorgreen;
//市值:TOSTRING(FINANCE(1)*C,3);
//主营收入:TOSTRING(FINANCE(20),3),colorred;
持仓:100*EMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),linethick3,Colorff00ee;
//STICKLINE(持仓>0,0,持仓,12,1),color999999;
主力:100*WINNER(CLOSE*1.9-SHigh),LINETHICK2,Color00ffcc;
//通信达主力:100*WINNER(CLOSE*0.95),LINETHICK2,COLOR00bbbb;
//PJJ:DMA((H + L + C * 2) / 4,0.9)/HHV(C,120)*100;
成本:=DMA(AMOUNT/V,V/CAPITAL)/HHV(C,120)*100,colorgreen;
DRAWBAND(C/HHV(C,120)*100,RGB(200,200,00),成本,RGB(0,0,205));
AA:=(VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)));
AAB:=(IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)));
AAS:=(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)));
买力:=100*AAB/HHV(VOL,120);
卖力:=100*AAS/HHV(VOL,120);
STICKLINE(买力>0,0,买力,8,0),color0000dd;
STICKLINE(卖力<0,买力,买力-卖力,8,0),color00bb00;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE))/VOL*100;
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0)/VOL*100;
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW)/VOL*100;
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN))/VOL*100;
QJ5:=(VOL/(IF(HIGH=LOW,4,HIGH-LOW)));
特大:QJ4*QJ5,NODRAW,colorred;
大单:QJ3*QJ5,nodraw,colormagenta;
中单:QJ1*QJ5,NODRAW,colorgreen;
小单:QJ2*QJ5,NODRAW,colorblack;
//小散:=EMA(小单+中单,3),colorblack;
//大单走向:EMA(大单+特大,3),coloryellow;
//STICKLINE(特大>0,特大+大单-1,特大+大单,7,0),colorffffff;
//STICKLINE(特大>0,1,特大+大单,11,1),coloraaaaaa;
//STICKLINE(大单>0,特大,特大+大单,12,1),colormagenta;
//STICKLINE(大单>0,特大,特大+大单,11,1),colormagenta;