打印本文
關(guān)閉窗口
老師,我這里有二條橫的線幫我標(biāo)紅好嗎?
作者:文華財(cái)經(jīng) 來(lái)源:cxh99.com 發(fā)布時(shí)間:2022年10月12日
咨詢內(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);
打印本文
關(guān)閉窗口
主站蜘蛛池模板:
朝鲜女人性猛交
|
精品国产一区二区三区久久狼
|
在线观看欧洲成人免费视频
|
久久久青草青青国产亚洲免观
|
欧美精品18videosex性欧美
|
又粗又猛又黄又爽无遮挡
|
欧美一区二区三区综合色视频
|
嫣嫣是女大生韩漫免费看
|
久久无码无码久久综合综合
|
欧美激情第一区
|
免费看电视电影
|
超碰aⅴ人人做人人爽欧美
|
国产精品无码DVD在线观看
|
wwwxxxx在线观看
|
日本19禁啪啪无遮挡免费动图
|
亚洲国产成人久久综合区
|
男男强行扒开小受双腿进入文
|
国产三级精品视频
|
四虎a456tncom
|
国产麻豆剧果冻传媒一区
|
一本大道香蕉最新在线视频
|
日本制服丝袜在线
|
亚洲av永久无码精品水牛影视
|
永久黄网站色视频免费观看
|
动漫精品一区二区三区3d
|
赵云腹肌下的紫黑巨龙h
|
国产热の有码热の无码视频
|
aa级国产女人毛片水真多
|
成人区人妻精品一区二区不卡视频
|
久久精品国产一区二区电影
|
欧美怡红院高清在线
|
人人干人人干人人干
|
色偷偷亚洲女人天堂观看欧
|
国产强被迫伦姧在线观看无码
|
182tv精品视频在线播放
|
大ji巴c死你h
|
一级做a爱片特黄在线观看yy
|
日本50岁丰满熟妇xxxx
|
久久精品无码精品免费专区
|
精品无码人妻一区二区三区品
|
国产亚洲欧美日韩在线看片
|