人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

寬色帶改為變色線 [文華財經]

  • 咨詢內容: ?老師好? ? 見截圖說明要求修改指標 K1:=51;K2:=50;N4:=3;LC :=REF(CLOSE,1);RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);FF:=FORCAST(REF(CLOSE,1),N4);JCS:=FF;SMA10:=SMA(C,4,2);//求的10周期的柱線實體擴展指數加權移動平均。權重為3。T1:=MMS>REF(MMS,1)&&JCS>REF(JCS,1)&&SMA10>REF(SMA10,1);T2:=MMS<REF(MMS,1)&&JCS<REF(JCS,1)&&SMA10<REF(SMA10,1);N1:=BARSLAST(T1)+1;N2:=BARSLAST(T2)+1;HH:=BACKSET(H>HV(H,NK5)||ISLASTBAR,BARSLAST(L<LV(L,NK5))+1),NODRAW;LL:=BACKSET(L<LV(L,NK5)||ISLASTBAR,BARSLAST(H>HV(H,NK5))+1),NODRAW;//DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000,H,'●'),FONTSIZE30,COLORGREEN;//DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000,L,'●'),FONTSIZE30,COLORRED,VALIGN0;//DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000,H,'●'),FONTSIZE30,COLORGREEN;//DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000,L,'●'),FONTSIZE30,COLORRED,VALIGN0;X1:=BARSLAST(LL&&H>HV(H,NK5)&&REFX1(N1<N2||REFX(N1<N2,1),1));X2:=BARSLAST(L<LV(L,NK5)&&HH&&REFX1(N1>=N2||REFX(N1>=N2,1),1));//FILLRGN(X2<X1||LL&&H>HV(H,NK5),K1,K2,COLORRED);//FILLRGN(X2>X1||L<LV(L,NK5)&&HH,K1,K2,COLORGREEN);//DRAWTEXT(REFX(ISLASTBAR,10),(K1+K2)/2,'千位高低點延伸并列JCSMMSSMAMMS帶'),COLORBLACK,FONTSIZE15,COLORBLACK,ALIGN0,VALIGN1;//REFLINE:0,100;?COND1:=LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000 || LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000;COND2:=L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000 || L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000;VERTLINE(COND1,COLORGREEN),LINETHICK2; DRAWSL(COND1,O,0,-0.35,0,COLORGREEN),LINETHICK2;DRAWSL(COND1,C,0,0.35,0,COLORGREEN),LINETHICK2;DRAWLINE(COND1,L,COND1,H,COLORGREEN),LINETHICK2;DRAWSL(COND2,O,0,-0.35,0,COLORRED),LINETHICK2;DRAWSL(COND2,C,0,0.35,0,COLORRED),LINETHICK2;DRAWLINE(COND2,L,COND2,H,COLORRED),LINETHICK2;VERTLINE(COND2,COLORRED),LINETHICK2;A1:=BARSLAST(COND1)+1;A2:=BARSLAST(COND2)+1;DRAWGBK1(A1>A2,COLORRED);DRAWGBK1(A1<A2,COLORGREEN);

    文件名:睿期大戶室截圖20220215101449.jpg

    ?

    ?

    ?來源:程序化99

  • 文華技術人員: ?參考:
    K1:=51; K2:=50; N4:=3; LC :=REF(CLOSE,1); RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100; MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3); FF:=FORCAST(REF(CLOSE,1),N4); JCS:=FF; SMA10:=SMA(C,4,2);//求的10周期的柱線實體擴展指數加權移動平均。權重為3。 T1:=MMS>REF(MMS,1)&&JCS>REF(JCS,1)&&SMA10>REF(SMA10,1); T2:=MMS<REF(MMS,1)&&JCS<REF(JCS,1)&&SMA10<REF(SMA10,1); N1:=BARSLAST(T1)+1; N2:=BARSLAST(T2)+1; HH:=BACKSET(H>HV(H,NK5)||ISLASTBAR,BARSLAST(L<LV(L,NK5))+1),NODRAW; LL:=BACKSET(L<LV(L,NK5)||ISLASTBAR,BARSLAST(H>HV(H,NK5))+1),NODRAW; //DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000,H,'',FONTSIZE30,COLORGREEN; //DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000,L,'',FONTSIZE30,COLORRED,VALIGN0; //DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000,H,'',FONTSIZE30,COLORGREEN; //DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000,L,'',FONTSIZE30,COLORRED,VALIGN0; X1:=BARSLAST(LL&&H>HV(H,NK5)&&REFX1(N1<N2||REFX(N1<N2,1),1)); X2:=BARSLAST(L<LV(L,NK5)&&HH&&REFX1(N1>=N2||REFX(N1>=N2,1),1)); //FILLRGN(X2<X1||LL&&H>HV(H,NK5),K1,K2,COLORRED); //FILLRGN(X2>X1||L<LV(L,NK5)&&HH,K1,K2,COLORGREEN); //DRAWTEXT(REFX(ISLASTBAR,10),(K1+K2)/2,'位高低點延伸并列JCSMMSSMAMMS帶',COLORBLACK,FONTSIZE15,COLORBLACK,ALIGN0,VALIGN1; //REFLINE:0,100;? COND1:=LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000 || LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000; COND2:=L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000 || L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000; VERTLINE(COND1,COLORGREEN),LINETHICK2; DRAWSL(COND1,O,0,-0.35,0,COLORGREEN),LINETHICK2; DRAWSL(COND1,C,0,0.35,0,COLORGREEN),LINETHICK2; DRAWLINE(COND1,L,COND1,H,COLORGREEN),LINETHICK2; DRAWSL(COND2,O,0,-0.35,0,COLORRED),LINETHICK2; DRAWSL(COND2,C,0,0.35,0,COLORRED),LINETHICK2; DRAWLINE(COND2,L,COND2,H,COLORRED),LINETHICK2; VERTLINE(COND2,COLORRED),LINETHICK2; A1:=BARSLAST(COND1)+1; A2:=BARSLAST(COND2)+1;
    DRAWSL(A1>A2,REFX1(O,1000),0,1,0,COLORRED),LINETHICK3; DRAWSL(A1<A2,REFX1(O,1000),0,1,0,COLORGREEN),LINETHICK3;

    ?

    ?來源: www.kzuj.com.cn

  • 文華客服: ?謝謝老師? 見截圖說明要求修正

    ?

  • 網友回復: ?無法準確取到屏幕正中間,只能手動進行修改位置調整,陰影部分取的是當天最高最低價的中間位置
    參考:
    K1:=51; K2:=50; N4:=3; LC :=REF(CLOSE,1); RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100; MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3); FF:=FORCAST(REF(CLOSE,1),N4); JCS:=FF; SMA10:=SMA(C,4,2);//求的10周期的柱線實體擴展指數加權移動平均。權重為3。 T1:=MMS>REF(MMS,1)&&JCS>REF(JCS,1)&&SMA10>REF(SMA10,1); T2:=MMS<REF(MMS,1)&&JCS<REF(JCS,1)&&SMA10<REF(SMA10,1); N1:=BARSLAST(T1)+1; N2:=BARSLAST(T2)+1; HH:=BACKSET(H>HV(H,NK5)||ISLASTBAR,BARSLAST(L<LV(L,NK5))+1),NODRAW; LL:=BACKSET(L<LV(L,NK5)||ISLASTBAR,BARSLAST(H>HV(H,NK5))+1),NODRAW; //DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000,H,'●'),FONTSIZE30,COLORGREEN; //DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000,L,'●'),FONTSIZE30,COLORRED,VALIGN0; //DRAWTEXT(LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000,H,'●'),FONTSIZE30,COLORGREEN; //DRAWTEXT(L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000,L,'●'),FONTSIZE30,COLORRED,VALIGN0; X1:=BARSLAST(LL&&H>HV(H,NK5)&&REFX1(N1<N2||REFX(N1<N2,1),1)); X2:=BARSLAST(L<LV(L,NK5)&&HH&&REFX1(N1>=N2||REFX(N1>=N2,1),1)); //FILLRGN(X2<X1||LL&&H>HV(H,NK5),K1,K2,COLORRED); //FILLRGN(X2>X1||L<LV(L,NK5)&&HH,K1,K2,COLORGREEN); //DRAWTEXT(REFX(ISLASTBAR,10),(K1+K2)/2,'千位高低點延伸并列JCSMMSSMAMMS帶'),COLORBLACK,FONTSIZE15,COLORBLACK,ALIGN0,VALIGN1; //REFLINE:0,100;? COND1:=LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000>10000 || LL&&H>HV(H,NK5)&&H-INTPART(H/100000)*100000<10000; COND2:=L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000>10000 || L<LV(L,NK5)&&HH&&L-INTPART(L/100000)*100000<10000; VERTLINE(COND1,COLORGREEN),LINETHICK2; DRAWSL(COND1,O,0,-0.35,0,COLORGREEN),LINETHICK2; DRAWSL(COND1,C,0,0.35,0,COLORGREEN),LINETHICK2; DRAWLINE(COND1,L,COND1,H,COLORGREEN),LINETHICK2; DRAWSL(COND2,O,0,-0.35,0,COLORRED),LINETHICK2; DRAWSL(COND2,C,0,0.35,0,COLORRED),LINETHICK2; DRAWLINE(COND2,L,COND2,H,COLORRED),LINETHICK2; VERTLINE(COND2,COLORRED),LINETHICK2; A1:=BARSLAST(COND1)+1; A2:=BARSLAST(COND2)+1;
    DRAWSL(A1>A2,REFX1((HHV(H,DAYBARPOS)+LLV(L,DAYBARPOS))/2,10000),0,1,0,COLORRED),LINETHICK3; DRAWSL(A1<A2,REFX1((HHV(H,DAYBARPOS)+LLV(L,DAYBARPOS))/2,10000),0,1,0,COLORGREEN),LINETHICK3;
    ?

    ?

  • 網友回復: ?謝謝老師? ?? 好極了 ?,請見截圖說明要求修正


    文件名:睿期大戶室截圖20220215114304.jpg


 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 99久在线精品99re6视频 | free性欧美另类巨大 | 久久一本精品久久精品66 | 免费国产黄色片 | 美女视频黄的全免费网站 | 伦理片hd| 一区二区三区四区在线观看视频 | 亚洲国产精久久久久久久春色 | 日日天天 | 国产在线a免费观看 | 日本成人中文字幕 | 免费一级黄色录像 | 一区二区视频在线播放 | 天天插综合网 | 欧美特级特黄a大片免费 | 成人看片在线观看免费 | 国产在线精品成人一区二区三区 | 中国美女一级a毛片录像在线 | 黄色一极毛片 | 免费三级网址 | 欧美成人在线免费 | 久久亚洲女同第一区 | 黄色网址中文字幕 | 日韩在线观看免费 | 亚洲欧美日韩综合一区久久 | 欧美一区二区三区精品影视 | 亚洲高清免费在线观看 | 国产免费一级高清淫曰本片 | 欧美乱色 | www.亚色 | 国产日韩高清一区二区三区 | 亚洲欧美日韩久久一区 | 国产精品福利小视频 | 日本一区二区三区不卡在线视频 | 一级黄色毛片播放 | 欧美xxxx新一区二区三区 | 亚洲成a人v大片在线观看 | 日本黄色片网站 | 一级爱爱片| 欧美综合区自拍亚洲综合天堂 | 国产成人午夜视频 |