加多空字樣和聲音預警 [文華財經]
- 咨詢內容: ? 主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3;B:=主趨勢線>REF(主趨勢線,1);IF(B-1,主趨勢線,NULL),COLORBLUE,LINETHICK3;AA:=EMA(C,5) > EMA(C,20);BB:=EMA(C,5) < EMA(C,20);CC:= EMA(C,5) > EMA(C,10);CC1:=EMA(C,5) < EMA(C,10);DD:=CLOSE<OPEN;DRAWCOLORKLINE(AA,COLORRED,1);DRAWCOLORKLINE(AA AND DD,COLORRED,0);DRAWCOLORKLINE(BB,COLORGREEN,1);DRAWCOLORKLINE(BB AND DD,COLORGREEN,0);DRAWCOLORKLINE(BB AND CC,COLORWHITE,1);DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0);DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1);DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0);AAA:=REFX1(HHV(C,90),10000);CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1;DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '色K線做多,綠色K線做空,白色K線觀望。 ',COLORYELLOW;
-
文華技術人員:
?
主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趨勢線>REF(主趨勢線,1);
IF(B-1,主趨勢線,NULL),COLORBLUE,LINETHICK3;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
DRAWCOLORKLINE(AA,COLORRED,1);
DRAWCOLORKLINE(AA AND DD,COLORRED,0);
DRAWCOLORKLINE(BB,COLORGREEN,1);
DRAWCOLORKLINE(BB AND DD,COLORGREEN,0);
DRAWCOLORKLINE(BB AND CC,COLORWHITE,1);
DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0);
DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1);
DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0);
AAA:=REFX1(HHV(C,90),10000);
M1:MA(C,50);
CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1;
DRAWTEXT(CURRBARSCOUNT=80 ,AAA, '色K線做多,綠色K線做空,白色K線觀望。 ',COLORYELLOW;
DRAWTEXT(AA&&C>M1,H,'';
DRAWTEXT(BB&&C<M1,H,'';
DRAWTEXT(BB AND CC||AA AND CC1,H,'望';
AA&&C>M1,SOUND('';
BB&&C<M1,SOUND('';
?
?來源: www.kzuj.com.cn
-
文華客服:
只需在第一根變色k線上加字
?
-
網友回復:
文件名:1627874418(1).png
??
- 網友回復: ? 主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3; B:=主趨勢線>REF(主趨勢線,1); IF(B-1,主趨勢線,NULL),COLORBLUE,LINETHICK3; AA:=EMA(C,5) > EMA(C,20); BB:=EMA(C,5) < EMA(C,20); CC:= EMA(C,5) > EMA(C,10); CC1:=EMA(C,5) < EMA(C,10); DD:=CLOSE<OPEN; DRAWCOLORKLINE(AA,COLORRED,1); DRAWCOLORKLINE(AA AND DD,COLORRED,0); DRAWCOLORKLINE(BB,COLORGREEN,1); DRAWCOLORKLINE(BB AND DD,COLORGREEN,0); DRAWCOLORKLINE(BB AND CC,COLORWHITE,1); DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0); DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1); DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0); AAA:=REFX1(HHV(C,90),10000); M1:MA(C,50); CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1; DRAWTEXT(CURRBARSCOUNT=80 ,AAA, '色K線做多,綠色K線做空,白色K線觀望。 ',COLORYELLOW; DRAWTEXT(BARSLASTCOUNT(AA&&C>M1)=1,H,''; DRAWTEXT(BARSLASTCOUNT(BB&&C<M1)=1,H,''; DRAWTEXT(BARSLASTCOUNT(BB AND CC||AA AND CC1)=1,H,'望'; BARSLASTCOUNT(BB AND CC||AA AND CC1)=1,SOUND(''; BARSLASTCOUNT(BB&&C<M1)=1,SOUND(''; BARSLASTCOUNT(AA&&C>M1)=1,SOUND('';
出現紅色k線且價格大于50均線,加紅色“多”字,聲音預警;出現綠色k線且價格小于50均線,加綠色“空”字,聲音預警:出現白色k線,加白色“觀望”字,聲音預警
?
?來源:程序化99
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容