⑴ 股票軟體技術指標的參數函數等
sum是求和函數,A和B的和!!都是變數
⑵ macd指標的stick值是什麼意思
COLORSTICK:
就是MACD的顏色柱狀線。
函數名
COLORSTICK
說明
以零軸為中心畫彩色棒狀線,零軸下為陰線顏色,零軸上為陽線顏色
⑶ 通達信指標公式紅色字體改成白色字體
DIF2:=(EMA(CLOSE,252)-EMA(CLOSE,546));
DEA2:=EMA(DIF2,189);
MACD月:(DIF2-DEA2)/2,STICK,LINETHICK9,COLORGREEN;
DIF1:=(EMA(CLOSE,60)-EMA(CLOSE,130));
DEA1:=EMA(DIF1,40);
MACD周:(DIF1-DEA1)*2,STICK,LINETHICK7,COLORYELLOW;
DIF:(EMA(CLOSE,12)-EMA(CLOSE,26)),LINETHICK3,COLORMAGENTA;
DEA:EMA(DIF,9),LINETHICK3,COLORBLUE;
MACD日:(DIF-DEA)*2,STICK,LINETHICK5,COLORRED;
{選股}
AAA:=MACD周>REF(MACD周,1) AND MACD日>REF(MACD日,1);
BBB:=CROSS(DIF,DEA) AND DIF>0;
DRAWTEXT(AAA AND BBB,MACD日,'買啊'),COLORWHITE;
DRAWTEXT(CROSS(MACD日,0),MACD日,'買'),COLORWHITE;
⑷ 誰能幫我把這個股票指標改成博易大師用的
你的這個公式有未來函數,並且有的函數,該軟體沒有,也不能替代,你實在要改寫,只能去掉部分語句.。
---------------------------------
R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200;
R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2;
R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);
R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
R5:=POW(MA(LOW,5),2)+MA(LOW,5);
R6:=POW(MA(HIGH,5),2)+MA(HIGH,5);
R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10;
R8:=SMA((SMA(R7,3,1)*1.5-100),3,1);
R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8;
R10:=(HIGH+LOW+CLOSE*2)/4;
R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13));
R12:=EMA((EMA(R11,5)),13)+200-100;
R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12;
R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10));
R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,10)))+R9+(3*R12-2*(EMA(R12,10)));
R16:=(HIGH+LOW+CLOSE)/3;
R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34));
R18:=(HIGH+LOW+CLOSE+R16)/4;
R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100;
R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24));
R21:=(((EMA(R19,5))+R20+R17)/3+165)/4;
R22:=(R13+R14+R15*30)/32/5-15;
A1:=EMA(EMA(CLOSE,13),13);
A2:=(A1-REF(A1,1))/REF(A1,1)*6400;
買賣:EMA(((R21+R22)/2/1.1),1),COLORRED,LINETHICK2;
確認:MA(買賣,3),COLORWHITE,LINETHICK2;
AR1:=EMA(OPEN,7);
AR2:=EMA(AR1,21);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,16)-LLV(LOW,20))*100,8,1),3);
{短買:IF(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,50,20),COLORLIBLUE;
短賣:IF(PEAKBARS(2,9,1)=1,50,80),COLORMAGENTA;
中買:IF(TROUGHBARS(3,18,1)=0 AND HIGH>LOW+0.1,20,0),COLORLIMAGENTA,LINETHICK2;
中賣:IF(PEAKBARS(2,15,1)=0,80,100),COLORRED;}
全買:(ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)<REF(ZIG(3,35),2))*90,STICK,COLORRED,LINETHICK3;
全賣:(ZIG(3,35)<REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)>REF(ZIG(3,35),2))*90,STICK,COLORGREEN,LINETHICK3;
中線:50,COLORC0C0C0;
⑸ 哪位大師能幫我修改通達信公式指標,謝謝
主圖代碼如下
N:=5;
M:=13;
MA5:MA(C,N),COLORWHITE;
MA18:=MA(CLOSE,18);
MA13:MA(C,M),COLORGREEN,LINETHICK2;
VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR2:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
A:=(3*C+L+O+H)/6;
VAR4:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
幅圖代碼如下
VARA1:=((AMOUNT)/(VOL))/(100);
VARB1:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC1:=((SUM(AMOUNT,7))/(VARA1))/(100);
VARD1:=DMA(VARB1,(VOL)/(VARC1));
VARE1:=((CLOSE-VARD1)/(VARD1))*(100);
VARF1:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ1:=MA(VARE1,20)+STD(VARE1,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
AA1:=SMA(VARF1,3,1);
SS1:=(REF(BIAS18,1)>=5) AND CROSS(VARJ1,VARE1) AND (AA1>79);
VAR1AA:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2AA:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
全倉買入:IF(VAR2AA AND COUNT(VAR2AA,3)=1,8,0),STICK,LINETHICK1,COLORFF00FF;
DRAWTEXT(VAR1AA,5,' 全倉賣出'),COLORYELLOW;
全倉賣出:IF(VAR1AA AND COUNT(VAR1AA,3)=1,8,0),STICK,LINETHICK1,COLORYELLOW;
注意副圖有未來函數
⑹ 通達信BIAS指標修改!謝謝!
金叉加上紅柱,死叉加上綠柱公式:
BIAS :(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA :MA(BIAS,M);
CROSS(BIAS,BIASMA),STICK,COLORRED;
CROSS(BIASMA,BIAS),STICK,COLORGREEN;
金叉買入條件選股及預警公式:
BIAS:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA:=MA(BIAS,M);
CROSS(BIAS,BIASMA);
死叉賣出條件選股及預警公式:
BIAS:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA:=MA(BIAS,M);
CROSS(BIASMA,BIAS);
我建議此指標的公式更改如下:
BIAS :(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA :MA(BIAS,M);
REF(BIAS,1)<-3 AND CROSS(BIAS,REF(BIAS,1));