修改指標(biāo),麻煩 [文華財(cái)經(jīng)]
作者:文華財(cái)經(jīng) 來(lái)源:cxh99.com 發(fā)布時(shí)間:2015年08月11日 點(diǎn)擊數(shù):
【收藏到本網(wǎng)的會(huì)員中心】
- 咨詢(xún)內(nèi)容:
畫(huà)出的線(xiàn),不用加粗N:=340;P:=15;地:MA((LOW+HIGH+CLOSE*2)/4,7),COLORGREEN,LINETHICK2;天:HHV(地,9),COLORFF8000,LINETHICK2;人:IF(地<天,(地-(天-地)),天),COLORYELLOW,LINETHICK1;V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY:=REF(EMA(V1,3),1);X2:=C;X3:=HY;RSV1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;KK1:=SMA(RSV1,3,1);DD1:=SMA(KK1,3,1);JJ:=3*KK1-2*DD1;RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K12:=SMA(RSV12,3,1); D12:=SMA(K12,3,1); J12:=3*K12-2*D12; RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 頂線(xiàn):=IF(CROSS(J24,JJ),H,REF(H,BARSLAST(CROSS(J24,JJ)))),COLORFF80C9,POINTDOT;底線(xiàn):=IF(CROSS(JJ,J24),L,REF(L,BARSLAST(CROSS(JJ,J24)))),COLORGREEN,POINTDOT;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE1(ZDF>9.5,O,C,6,0),COLORRED;STICKLINE1(ZDF<-9.5,O,C,6,0),COLORBLUE;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10); A1:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波浪頂:=IF(T1,A1,A1),COLORFF00FF,POINTDOT,LINETHICK1;STICKLINE1(T1,A1,A1,9,0),COLORFF00FF;波浪底:=IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1; LC:=REF(CLOSE,1);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1);D:=SMA(K,3,1);YX:=((CLOSE > LC) AND ISUP);KK:=HHV(K,5);DD:=HHV(D,5);D1:=REF(D,1);K1:=REF(K,1);DRAWTEXT((((D1 < 30) AND CROSS(K,D)) AND YX),(LOW * 1),'△'),COLORYELLOW;上收:=C;VA1:=EMA(上收,8); VA2:=EMA(上收,20); MID : = MA(CLOSE,N);UPPER: =MID + P*STD(CLOSE,N);LOWER:= MID - P*STD(CLOSE,N);M5:=MA(C,IF(BARSCOUNT( C)>5,5,0));M15:=MA(C,IF(BARSCOUNT( C)>15,15,0));M30:=MA(C,IF(BARSCOUNT( C)>30,30,0));M60:=MA(C,IF(BARSCOUNT( C)>60,60,0));A:=IF(M5>=M15,1,0)+IF(M5>=M30,1,0)+IF(M5>=M60,1,0)+IF(M15>=M30,1,0)+IF(M15>=M60,1,0)+IF(M30>=M60,1,0)+IF(M60>=REF(M60,1),1,0);用于定位:=5 , COLOR000000,POINTDOT ;
- 文華技術(shù)人員:
參考:
N:=340;P:=15;地:MA((LOW+HIGH+CLOSE*2)/4,7),COLORGREEN;天:HHV(地,9),COLORFF8000;人:IF(地<天,(地-(天-地)),天),COLORYELLOW;V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY:=REF(EMA(V1,3),1);X2:=C;X3:=HY;RSV1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;KK1:=SMA(RSV1,3,1);DD1:=SMA(KK1,3,1);JJ:=3*KK1-2*DD1;RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K12:=SMA(RSV12,3,1); D12:=SMA(K12,3,1); J12:=3*K12-2*D12; RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 頂線(xiàn):=IF(CROSS(J24,JJ),H,REF(H,BARSLAST(CROSS(J24,JJ)))),COLORFF80C9,POINTDOT;底線(xiàn):=IF(CROSS(JJ,J24),L,REF(L,BARSLAST(CROSS(JJ,J24)))),COLORGREEN,POINTDOT;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE1(ZDF>9.5,O,C,6,0),COLORRED;STICKLINE1(ZDF<-9.5,O,C,6,0),COLORBLUE;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10); A1:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波浪頂:=IF(T1,A1,A1),COLORFF00FF,POINTDOT;STICKLINE1(T1,A1,A1,9,0),COLORFF00FF;波浪底:=IF(T2,B,B),COLOR80FF00,POINTDOT; LC:=REF(CLOSE,1);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1);D:=SMA(K,3,1);YX:=((CLOSE > LC) AND ISUP);KK:=HHV(K,5);DD:=HHV(D,5);D1:=REF(D,1);K1:=REF(K,1);DRAWTEXT((((D1 < 30) AND CROSS(K,D)) AND YX),(LOW * 1),'△'),COLORYELLOW;上收:=C;VA1:=EMA(上收,8); VA2:=EMA(上收,20); MID : = MA(CLOSE,N);UPPER: =MID + P*STD(CLOSE,N);LOWER:= MID - P*STD(CLOSE,N);M5:=MA(C,IF(BARSCOUNT( C)>5,5,0));M15:=MA(C,IF(BARSCOUNT( C)>15,15,0));M30:=MA(C,IF(BARSCOUNT( C)>30,30,0));M60:=MA(C,IF(BARSCOUNT( C)>60,60,0));A:=IF(M5>=M15,1,0)+IF(M5>=M30,1,0)+IF(M5>=M60,1,0)+IF(M15>=M30,1,0)+IF(M15>=M60,1,0)+IF(M30>=M60,1,0)+IF(M60>=REF(M60,1),1,0);用于定位:=5 , COLOR000000,POINTDOT ; - 文華客服:
三線(xiàn)數(shù)值一樣是,也就是合一時(shí),線(xiàn)型改為紅色虛線(xiàn)
- 網(wǎng)友回復(fù):
參考:
N:=340;P:=15;地:MA((LOW+HIGH+CLOSE*2)/4,7),COLORGREEN;天:HHV(地,9),COLORFF8000;人:IF(地<天,(地-(天-地)),天),COLORYELLOW;IF(天=地&&地=人,天,NULL),COLORRED;V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY:=REF(EMA(V1,3),1);X2:=C;X3:=HY;RSV1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;KK1:=SMA(RSV1,3,1);DD1:=SMA(KK1,3,1);JJ:=3*KK1-2*DD1;RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K12:=SMA(RSV12,3,1); D12:=SMA(K12,3,1); J12:=3*K12-2*D12; RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 頂線(xiàn):=IF(CROSS(J24,JJ),H,REF(H,BARSLAST(CROSS(J24,JJ)))),COLORFF80C9,POINTDOT;底線(xiàn):=IF(CROSS(JJ,J24),L,REF(L,BARSLAST(CROSS(JJ,J24)))),COLORGREEN,POINTDOT;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE1(ZDF>9.5,O,C,6,0),COLORRED;STICKLINE1(ZDF<-9.5,O,C,6,0),COLORBLUE;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10); A1:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波浪頂:=IF(T1,A1,A1),COLORFF00FF,POINTDOT;STICKLINE1(T1,A1,A1,9,0),COLORFF00FF;波浪底:=IF(T2,B,B),COLOR80FF00,POINTDOT; LC:=REF(CLOSE,1);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1);D:=SMA(K,3,1);YX:=((CLOSE > LC) AND ISUP);KK:=HHV(K,5);DD:=HHV(D,5);D1:=REF(D,1);K1:=REF(K,1);DRAWTEXT((((D1 < 30) AND CROSS(K,D)) AND YX),(LOW * 1),'△'),COLORYELLOW;上收:=C;VA1:=EMA(上收,8); VA2:=EMA(上收,20); MID : = MA(CLOSE,N);UPPER: =MID + P*STD(CLOSE,N);LOWER:= MID - P*STD(CLOSE,N);M5:=MA(C,IF(BARSCOUNT( C)>5,5,0));M15:=MA(C,IF(BARSCOUNT( C)>15,15,0));M30:=MA(C,IF(BARSCOUNT( C)>30,30,0));M60:=MA(C,IF(BARSCOUNT( C)>60,60,0));A:=IF(M5>=M15,1,0)+IF(M5>=M30,1,0)+IF(M5>=M60,1,0)+IF(M15>=M30,1,0)+IF(M15>=M60,1,0)+IF(M30>=M60,1,0)+IF(M60>=REF(M60,1),1,0);用于定位:=5 , COLOR000000,POINTDOT ; - 網(wǎng)友回復(fù): 這么譯對(duì)不 地:MA((LOW+HIGH+CLOSE*2)/4,7),COLORGREEN,LINETHICK2;//7天內(nèi)的最高價(jià),最低價(jià),2倍盤(pán)價(jià)的算數(shù)平均,畫(huà)線(xiàn)天:HHV(地,9),COLORFF8000,LINETHICK2;//9個(gè)地線(xiàn)的最高價(jià),畫(huà)線(xiàn)人:IF(地<天,(地-(天-地)),天),COLORYELLOW,LINETHICK1;//如果,地小于天,畫(huà)線(xiàn)(地-(天-地)),否則畫(huà)線(xiàn)和天一樣
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容