指標編寫修改為文華指標 [文華財經]
- 咨詢內容:
請老師幫助我把下面的修改為文華指標
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
GSQR3:=SMA(RSV1,5,1);
GSQR4:=SMA(GSQR3,10,1);
BUY:GSQR3>GSQR4,STICK,COLORRED;
SELL:GSQR3<=GSQR4,STICK,COLORGREEN; - 文華技術人員:
請參考以下編寫,您加載到副圖指標試試:
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
GSQR3:SMA(RSV1,5,1);
GSQR4:SMA(GSQR3,10,1);
DRAWICON(CROSS(GSQR3,GSQR4),GSQR3,'ICO4');
DRAWICON(CROSS(GSQR4,GSQR3),GSQR3,'ICO5');僅供參考
- 文華客服:
把上下箭頭加大一點怎樣編
- 網友回復:
抱歉,這個無法實現
- 網友回復:
請老師幫我把下面的修改為文華指標
bu:=cross(high,SAR(3,1,20));
sel:=cross(SAR(3,1,20),low);
var1:=last(high<SAR(3,1,20));
var2:=last(low>sar(3,1,20));
drawflagtext(bu,high,'買入');
drawflagtext(sel,low,'賣出');
drawtext(bu,LOW,'B'),valign0,align1,coloryellow,linethick2;
drawtext(sel,HIGH,'S'),valign2,align1,colorgreen,linethick2;
STICKLINE(low>SAR(3,1,20) and isdown,high,open,0.5,1),colorred;
STICKLINE(low>SAR(3,1,20) and isdown,close,open,7.5,1),colorred;
STICKLINE(low>SAR(3,1,20) and isdown,close,low,0.5,1),colorred;
STICKLINE(high<SAR(3,1,20) and isup,high,close,0.5,1),colorcyan;
STICKLINE(high<SAR(3,1,20) and isup,close,open,7.5,1),colorcyan;
STICKLINE(high<SAR(3,1,20) and isup,open,low,0.5,1),colorcyan;
drawflagtext(high<SAR(3,1,20) and high>=ref(high,1),high,'明日突破'+forcast(sar(3,1,20),max(var1,2))+'建議關注');
drawflagtext(high<SAR(3,1,20) and high<ref(high,1),high,'持幣觀望');
drawflagtext(low>SAR(3,1,20) and low<=ref(low,1),low,'明日跌破'+forcast(sar(3,1,20),max(var2,2))+'注意止盈');
drawflagtext(low>SAR(3,1,20) and low>ref(low,1),low,'繼續持股');
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 262069696 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容