老師,我這里有二條橫的線幫我標(biāo)紅好嗎? [文華財(cái)經(jīng)]

  • 咨詢內(nèi)容: ?N:=33;UR:=6;LR:=2;TC1:=IF(H=HHV(H,8*UR),H,NULL);TC2:=REFX1(BARSLAST(TC1=H),9999)+1;UPPER:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),9999);BC1:=IF(L=LLV(L,8*LR),L,NULL);BC2:=REFX1(BARSLAST(BC1=L),9999)+1;LOWER:=REFX1(IF(BC2=1,L,REF(L,BC2-1)),9999);CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;?HP:=CURRBARSCOUNT<=TC2 AND H=UPPER;?
    NOD:=(IF(TC2>BC2,TC2,BC2)-IF(TC2>BC2,BC2,TC2));?LR1:=FORCAST(C,NOD+1);NP:IF(CURRBARSCOUNT<=MAX(BC2,TC2),REFX1(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1)),9999),NULL),COLOR93BDA8,LINETHICK2;?LR2:=SLOPE(C,NOD+1);LR3:=REFX1(IF(MIN(TC2,BC2)=1,LR2,REF(LR2,MIN(TC2,BC2)-1)),9999);FP:NP-LR3*(NOD),COLOR93BDA8,LINETHICK2;?EQU:(NP+FP)/2,COLOR93BDA8,LINETHICK2;AD:=ABS(NP-FP);
    DBL:=BARSLAST(NOT(ISNULL(BC1)))+1;DBH:=BARSLAST(NOT(ISNULL(TC1)))+1;BSP:=IF(BC2>TC2,DBL,DBH)-1;LRL:=IF(NP>FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP);AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND H>LRL,H,LRL);AT2:=HHV(AT1-LRL,MAX(BC2,TC2));AT3:=REFX1(BARSLAST(AT1-LRL=AT2),9999);AT4:=REFX1(IF(AT3=0,H,REF(H,AT3)),9999);AT5:=REFX1(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3)),9999);ATL:=LRL+AT5;
    UT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND L<LRL,L,LRL);UT2:=HHV(LRL-UT1,MAX(BC2,TC2));UT3:=REFX1(BARSLAST(LRL-UT1=UT2),9999);UT4:=REFX1(IF(UT3=0,H,REF(H,UT3)),9999);UT5:=REFX1(IF(UT3=0,LRL-UT1,REF(LRL-UT1,UT3)),9999);UTL:=LRL-UT5;RH:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,ATL,REFX1(REF(ATL,MIN(BC2,TC2)-11),9999));?RL:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,UTL,REFX1(REF(UTL,MIN(BC2,TC2)-11),9999));?//中軌:IF(NP>FP,IF(LRL<=RH,LRL,NULL),IF(LRL>=RL,LRL,NULL)),COLOR628962;//上軌:IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLOR628962;//下軌:IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLOR628962;
    CON1:=FP>NP;CON2:=FP<NP;//豎線DRAWLINE(IF(BC2>TC2,HP,LP) && CON1,LOWER,1,UPPER,COLOR628962),DOT;DRAWLINE(IF(BC2>TC2,LP,HP) && CON1,LOWER,1,UPPER,COLOR628962),DOT;DRAWLINE(IF(BC2>TC2,HP,LP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT;DRAWLINE(IF(BC2>TC2,LP,HP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT;
    IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLORYELLOW;{上軌畫(huà)線}IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLORFFFFFF;//{下軌畫(huà)線}
    DRAWKLINE1(H,O,L,C);
    老師,我這里有二條橫的線幫我標(biāo)紅好嗎? 我想改一下色不知道是哪幾個(gè)代碼,致謝

    ?

    ?來(lái)源:程序化99

  • 文華技術(shù)人員: ?參考:
    ?N:=33; UR:=6; LR:=2; TC1:=IF(H=HHV(H,8*UR),H,NULL); TC2:=REFX1(BARSLAST(TC1=H),9999)+1; UPPER:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),9999); BC1:=IF(L=LLV(L,8*LR),L,NULL); BC2:=REFX1(BARSLAST(BC1=L),9999)+1; LOWER:=REFX1(IF(BC2=1,L,REF(L,BC2-1)),9999); CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1; LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;? HP:=CURRBARSCOUNT<=TC2 AND H=UPPER;?
    NOD:=(IF(TC2>BC2,TC2,BC2)-IF(TC2>BC2,BC2,TC2));? LR1:=FORCAST(C,NOD+1); NP:IF(CURRBARSCOUNT<=MAX(BC2,TC2),REFX1(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1)),9999),NULL),COLOR93BDA8,LINETHICK2;? LR2:=SLOPE(C,NOD+1); LR3:=REFX1(IF(MIN(TC2,BC2)=1,LR2,REF(LR2,MIN(TC2,BC2)-1)),9999); FP:NP-LR3*(NOD),COLOR93BDA8,LINETHICK2;? EQU:(NP+FP)/2,COLOR93BDA8,LINETHICK2; AD:=ABS(NP-FP);
    DBL:=BARSLAST(NOT(ISNULL(BC1)))+1; DBH:=BARSLAST(NOT(ISNULL(TC1)))+1; BSP:=IF(BC2>TC2,DBL,DBH)-1; LRL:=IF(NP>FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP); AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND H>LRL,H,LRL); AT2:=HHV(AT1-LRL,MAX(BC2,TC2)); AT3:=REFX1(BARSLAST(AT1-LRL=AT2),9999); AT4:=REFX1(IF(AT3=0,H,REF(H,AT3)),9999); AT5:=REFX1(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3)),9999); ATL:=LRL+AT5;
    UT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND L<LRL,L,LRL); UT2:=HHV(LRL-UT1,MAX(BC2,TC2)); UT3:=REFX1(BARSLAST(LRL-UT1=UT2),9999); UT4:=REFX1(IF(UT3=0,H,REF(H,UT3)),9999); UT5:=REFX1(IF(UT3=0,LRL-UT1,REF(LRL-UT1,UT3)),9999); UTL:=LRL-UT5; RH:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,ATL,REFX1(REF(ATL,MIN(BC2,TC2)-11),9999));? RL:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,UTL,REFX1(REF(UTL,MIN(BC2,TC2)-11),9999));? //中軌:IF(NP>FP,IF(LRL<=RH,LRL,NULL),IF(LRL>=RL,LRL,NULL)),COLOR628962; //上軌:IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLOR628962; //下軌:IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLOR628962;
    CON1:=FP>NP; CON2:=FP<NP; //豎線 DRAWLINE(IF(BC2>TC2,HP,LP) && CON1,LOWER,1,UPPER,COLOR628962),DOT; DRAWLINE(IF(BC2>TC2,LP,HP) && CON1,LOWER,1,UPPER,COLOR628962),DOT; DRAWLINE(IF(BC2>TC2,HP,LP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT; DRAWLINE(IF(BC2>TC2,LP,HP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT;
    IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLORRED; {上軌畫(huà)線} IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLORRED; //{下軌畫(huà)線}
    DRAWKLINE1(H,O,L,C);

    ?

    ?來(lái)源: www.tumamayizhan.com

  • 文華客服: 老師不對(duì)哦,不是斜的二條,是橫的二條目前是青綠色的那二條我想換色,致謝

    ?

  • 網(wǎng)友回復(fù): ?加載查看,青綠色的有三條,您可以自行調(diào)整下哪兩條需要變色
    參考:
    N:=33; UR:=6; LR:=2; TC1:=IF(H=HHV(H,8*UR),H,NULL); TC2:=REFX1(BARSLAST(TC1=H),9999)+1; UPPER:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),9999); BC1:=IF(L=LLV(L,8*LR),L,NULL); BC2:=REFX1(BARSLAST(BC1=L),9999)+1; LOWER:=REFX1(IF(BC2=1,L,REF(L,BC2-1)),9999); CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1; LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;? HP:=CURRBARSCOUNT<=TC2 AND H=UPPER;?
    NOD:=(IF(TC2>BC2,TC2,BC2)-IF(TC2>BC2,BC2,TC2));? LR1:=FORCAST(C,NOD+1); NP:IF(CURRBARSCOUNT<=MAX(BC2,TC2),REFX1(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1)),9999),NULL),COLORRED,LINETHICK2;? LR2:=SLOPE(C,NOD+1); LR3:=REFX1(IF(MIN(TC2,BC2)=1,LR2,REF(LR2,MIN(TC2,BC2)-1)),9999); FP:NP-LR3*(NOD),COLORRED,LINETHICK2;? EQU:(NP+FP)/2,COLORRED,LINETHICK2; AD:=ABS(NP-FP);
    DBL:=BARSLAST(NOT(ISNULL(BC1)))+1; DBH:=BARSLAST(NOT(ISNULL(TC1)))+1; BSP:=IF(BC2>TC2,DBL,DBH)-1; LRL:=IF(NP>FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP); AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND H>LRL,H,LRL); AT2:=HHV(AT1-LRL,MAX(BC2,TC2)); AT3:=REFX1(BARSLAST(AT1-LRL=AT2),9999); AT4:=REFX1(IF(AT3=0,H,REF(H,AT3)),9999); AT5:=REFX1(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3)),9999); ATL:=LRL+AT5;
    UT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND L<LRL,L,LRL); UT2:=HHV(LRL-UT1,MAX(BC2,TC2)); UT3:=REFX1(BARSLAST(LRL-UT1=UT2),9999); UT4:=REFX1(IF(UT3=0,H,REF(H,UT3)),9999); UT5:=REFX1(IF(UT3=0,LRL-UT1,REF(LRL-UT1,UT3)),9999); UTL:=LRL-UT5; RH:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,ATL,REFX1(REF(ATL,MIN(BC2,TC2)-11),9999));? RL:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,UTL,REFX1(REF(UTL,MIN(BC2,TC2)-11),9999));? //中軌:IF(NP>FP,IF(LRL<=RH,LRL,NULL),IF(LRL>=RL,LRL,NULL)),COLOR628962; //上軌:IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLOR628962; //下軌:IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLOR628962;
    CON1:=FP>NP; CON2:=FP<NP; //豎線 DRAWLINE(IF(BC2>TC2,HP,LP) && CON1,LOWER,1,UPPER,COLOR628962),DOT; DRAWLINE(IF(BC2>TC2,LP,HP) && CON1,LOWER,1,UPPER,COLOR628962),DOT; DRAWLINE(IF(BC2>TC2,HP,LP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT; DRAWLINE(IF(BC2>TC2,LP,HP) && CON2,LOWER,1,UPPER,COLORGRAY),DOT;
    IF(NP>FP,IF(ATL<=RH,ATL,NULL),IF(ATL>=RL,ATL,NULL)),COLORYELLOW; {上軌畫(huà)線} IF(NP>FP,IF(UTL<=RH,UTL,NULL),IF(UTL>=RL,UTL,NULL)),COLORFFFFFF; //{下軌畫(huà)線}
    DRAWKLINE1(H,O,L,C);

 

有思路,想編寫(xiě)各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友

可聯(lián)系技術(shù)人員 QQ: 262069696  點(diǎn)擊在線交流或微信號(hào):cxh99cxh99  進(jìn)行 有償收費(fèi) 編寫(xiě)!

怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!

(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒(méi)有相關(guān)內(nèi)容
主站蜘蛛池模板: xxxx日本在线播放免费不卡| 亚洲国产模特在线播放| 黑人狠狠的挺身进入| 狠狠亚洲婷婷综合色香五月排名| 国内精品一区二区三区最新| 久久亚洲AV无码精品色午夜麻豆| 水蜜桃亚洲一二三四在线| 国产一卡2卡3卡4卡网站免费| 一本一道精品欧美中文字幕| 极品艳短篇集500丝袜txt| 国产xx肥老妇视频| 影音先锋成人资源| 尹人久久久香蕉精品| 五月开心激情网| 狂野欧美激情性xxxx| 四虎精品久久久久影院| 国产精品亚洲综合五月天| 大乳女人做受视频免费观看| 中文字幕日韩精品麻豆系列| 极品粉嫩嫩模大尺度无码视频| 人人爽人人澡人人高潮| 1000部拍拍拍18勿入免费视频软件| 好男人看视频免费2019中文| 久久久青草青青国产亚洲免观| 欧美日韩在线观看一区二区| 再深点灬用力灬太大了| 西西人体午夜视频| 处处吻动漫高清在线观看| 丰满少妇三级全黄| 校园放荡三个女同学| 亚洲精品在线视频| 精品无码AV一区二区三区不卡| 国产肝交视频在线观看| 丁香花高清在线观看完整版| 欧美性受xxxx白人性爽| 免费国产a国产片高清网站| 免费在线视频你懂的| 强行扒开双腿猛烈进入| 久久国产精品2020盗摄| 欧美中文在线观看| 亚洲综合国产一区二区三区|