請老師在頂賣中買底居中對齊標注實時價保留2位小數謝謝 [文華財經]
-
咨詢內容:
?MA8:=1;多止損:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*3.5)*MA8,LINETHICK1,COLORYELLOW;多止盈:=((MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25))*MA8,LINETHICK1,COLORWHITE;空止損:=((MA(MA(H,25),25)-MA(MA(L,25),25))*3.5+MA(MA(H,25),25))*MA8,LINETHICK1,COLORYELLOW;空止盈:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1)*MA8,LINETHICK1,COLORWHITE;短高H:=((20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)?+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)?+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+?REF(H,20))/210)*MA8,COLORBLUE,LINETHICK1;短低L:=((20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)?+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)?+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+?REF(L,20))/210)*MA8,COLORBLUE,LINETHICK1;?D90H:=(EMA(短高H,90))*MA8,COLORRED,LINETHICK1;?D90L:=(EMA(短低L,90))*MA8,COLORRED,LINETHICK1;?D90差:=(D90H-D90L)*MA8;?D90頂:=(D90H+D90差*2)*MA8,COLORRED,LINETHICK1;?D90底:=(D90L-D90差*2)*MA8,COLORRED,LINETHICK1;高0:=((MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25))*MA8,LINETHICK1,COLORWHITE;低0:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1)*MA8,LINETHICK1,COLORWHITE;多頭定位:=(低0>=D90底 AND 高0>=D90頂)*MA8;空頭定位:=(高0<=D90頂 AND 低0<=D90底)*MA8;震蕩定位:=(低0>=D90底 AND 高0<=D90頂)*MA8;短頂:=((MA(MA(H,25),25)-MA(MA(L,25),25))*2+MA(MA(H,25),25))*MA8,LINETHICK2,COLORGREEN;短底:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*2)*MA8,LINETHICK2,COLORGREEN;短線收盤:=((C-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED;短線開盤:=((O-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED;短線高盤:=((H-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED;短線低盤:=((L-短底)/(短頂-短底)*100000)*MA8,LINETHICK1,COLORRED;
頂1:=(110000)*MA8,COLORYELLOW,LINETHICK1;底1:=(-10000)*MA8,COLORYELLOW,LINETHICK1;
震蕩頂:=((MA(MA(短線高盤,25),25)-MA(MA(短線低盤,25),25))*1+MA(MA(短線高盤,25),25))*MA8,COLORWHITE;震蕩底:=(MA(MA(短線低盤,25),25)-(MA(MA(短線高盤,25),25)-MA(MA(短線低盤,25),25))*1)*MA8,COLORWHITE;
做空:=(80000)*MA8,COLORWHITE,LINETHICK1;做多:=(20000)*MA8,COLORWHITE,LINETHICK1;中線:=(50000)*MA8,COLORYELLOW;空損:(110000)*MA8,COLORMAGENTA,LINETHICK2;多損:(-10000)*MA8,COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,108000,'___________頂'),ALIGN0,COLORMAGENTA;?DRAWTEXT(ISLASTBAR,80000,'___________賣'),ALIGN0,COLORGREEN;DRAWTEXT(ISLASTBAR,50000,'___________中'),ALIGN0,COLORGREEN;?DRAWTEXT(ISLASTBAR,20000,'___________買'),ALIGN0,COLORRED;?DRAWTEXT(ISLASTBAR,-9000,'___________底'),ALIGN0,COLORMAGENTA;??
?來源:程序化99
-
文華技術人員:
參考:
?MA8:=1; 多止損:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*3.5)*MA8,LINETHICK1,COLORYELLOW; 多止盈:=((MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25))*MA8,LINETHICK1,COLORWHITE; 空止損:=((MA(MA(H,25),25)-MA(MA(L,25),25))*3.5+MA(MA(H,25),25))*MA8,LINETHICK1,COLORYELLOW; 空止盈:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1)*MA8,LINETHICK1,COLORWHITE; 短高H:=((20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6) ?+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12) ?+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+ ?REF(H,20))/210)*MA8,COLORBLUE,LINETHICK1; 短低L:=((20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6) ?+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12) ?+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+ ?REF(L,20))/210)*MA8,COLORBLUE,LINETHICK1; ?D90H:=(EMA(短高H,90))*MA8,COLORRED,LINETHICK1; ?D90L:=(EMA(短低L,90))*MA8,COLORRED,LINETHICK1; ?D90差:=(D90H-D90L)*MA8; ?D90頂:=(D90H+D90差*2)*MA8,COLORRED,LINETHICK1; ?D90底:=(D90L-D90差*2)*MA8,COLORRED,LINETHICK1; 高0:=((MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25))*MA8,LINETHICK1,COLORWHITE; 低0:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1)*MA8,LINETHICK1,COLORWHITE; 多頭定位:=(低0>=D90底 AND 高0>=D90頂)*MA8; 空頭定位:=(高0<=D90頂 AND 低0<=D90底)*MA8; 震蕩定位:=(低0>=D90底 AND 高0<=D90頂)*MA8; 短頂:=((MA(MA(H,25),25)-MA(MA(L,25),25))*2+MA(MA(H,25),25))*MA8,LINETHICK2,COLORGREEN; 短底:=(MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*2)*MA8,LINETHICK2,COLORGREEN; 短線收盤:=((C-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED; 短線開盤:=((O-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED; 短線高盤:=((H-短底)/(短頂-短底)*100000)*MA8,LINETHICK2,COLORRED; 短線低盤:=((L-短底)/(短頂-短底)*100000)*MA8,LINETHICK1,COLORRED;
頂1:=(110000)*MA8,COLORYELLOW,LINETHICK1; 底1:=(-10000)*MA8,COLORYELLOW,LINETHICK1;
震蕩頂:=((MA(MA(短線高盤,25),25)-MA(MA(短線低盤,25),25))*1+MA(MA(短線高盤,25),25))*MA8,COLORWHITE; 震蕩底:=(MA(MA(短線低盤,25),25)-(MA(MA(短線高盤,25),25)-MA(MA(短線低盤,25),25))*1)*MA8,COLORWHITE;
做空:=(80000)*MA8,COLORWHITE,LINETHICK1; 做多:=(20000)*MA8,COLORWHITE,LINETHICK1; 中線:=(50000)*MA8,COLORYELLOW; 空損:(110000)*MA8,COLORMAGENTA,LINETHICK2; 多損:(-10000)*MA8,COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,108000,'___________頂'),ALIGN0,COLORMAGENTA; ?DRAWTEXT(ISLASTBAR,80000,'___________賣'),ALIGN0,COLORGREEN; DRAWTEXT(ISLASTBAR,50000,'___________中'),ALIGN0,COLORGREEN; ?DRAWTEXT(ISLASTBAR,20000,'___________買'),ALIGN0,COLORRED; ?DRAWTEXT(ISLASTBAR,-9000,'___________底'),ALIGN0,COLORMAGENTA;
DRAWNUMBER(ISLASTBAR,108000,108000,1,COLORMAGENTA),ALIGN2,VALIGN2; DRAWNUMBER(ISLASTBAR,80000,80000,1,COLORGREEN),VALIGN1,ALIGN2; DRAWNUMBER(ISLASTBAR,50000,50000,1,COLORGREEN),VALIGN1,ALIGN2; DRAWNUMBER(ISLASTBAR,20000,20000,1,COLORRED),VALIGN1,ALIGN2; DRAWNUMBER(ISLASTBAR,-9000,-9000,1,COLORMAGENTA),ALIGN2,VALIGN0;?
?來源: www.kzuj.com.cn
-
文華客服:
請?老師請再幫看看標注實時價格
?
- 網友回復: ?您這個??
- 網友回復:頂??
- 網友回復:賣??
- 網友回復:中??
- 網友回復:買??
- 網友回復:底? 都是固定價格高度的 不會變化的 您了解下?
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信號:cxh99cxh99 進行 有償收費 編寫!
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容