一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

文華公式 主圖劃折線(xiàn)

 一名津人 2018-09-07
 當(dāng)MACD金叉時(shí)以這個(gè)K線(xiàn)的收線(xiàn)價(jià)畫(huà)線(xiàn)段,從金叉起逐步畫(huà)到死叉。
同時(shí)以金叉后出現(xiàn)的最高價(jià)畫(huà)線(xiàn)段。與前面的線(xiàn)段同步。
當(dāng)MACD死叉時(shí)也以收線(xiàn)價(jià)畫(huà),同時(shí)以區(qū)間的最低價(jià)畫(huà)


  
 
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  := EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSSDOWN(DIFF,DEA);
DRAWLINE1(JC,C,SC,C,0),COLORRED;
DRAWLINE1(SC,C,JC,C,0),COLORGREEN;
HH:=VALUEWHEN(SC,HHV(H,BARSLAST(JC)+1));
LL:=VALUEWHEN(JC,LLV(L,BARSLAST(SC)+1));
DRAWLINE3(SC,HH,HHVBARS(H,BARSLAST(JC)+1),JC,LL,LLVBARS(L,BARSLAST(SC)+1),0);

DRAWLINE3(JC,LL,LLVBARS(L,BARSLAST(SC)+1),SC,HH,HHVBARS(H,BARSLAST(JC)+1),0);


G:=MA(C,5);

DY:=MA(C,10);

NNH:=BARSLAST(H=HHV(H,15)) ,NODRAW;

NNL:=BARSLAST(L=LLV(L,15)) ,NODRAW;

NN:=IF(REF(G,NNH)>REF(DY,NNH) AND NNH<=12,NNH,IF(REF(G,NNL)<REF(DY,NNL) AND NNL<=12,NNL,13)) ,NODRAW;

YN:=IF(ISLASTBAR AND NN>0,NN,13) ,NODRAW;

HHY:=REF(H,YN)=HHV(H,14);

LLY:=REF(L,YN)=LLV(L,14);

FG01:=BACKSET(HHY,YN+1)>BACKSET(HHY,YN),NODRAW;//只設(shè)置前面第6個(gè)

FD01:=BACKSET(LLY,YN+1)>BACKSET(LLY,YN) ,NODRAW;

FG02:=FG01=FD01 AND G>DY,NODRAW;

FD02:=FG01=FD01 AND G<DY,NODRAW;

TTTT:=BARSLAST(FD01),NODRAW;

FG0:=FG01 AND IF(FG02=1,H=HHV(H,BARSLAST(REF(FD01,1))+1),H=HHV(H,IF(BARSLAST(L=LLV(L,7))>=5,5,BARSLAST(FD01)))) AND FD02=0 ,NODRAW;

FD0:=FD01 AND IF(FD02=1,L=LLV(L,BARSLAST(REF(FG01,1))+1),L=LLV(L,IF(BARSLAST(H=HHV(L,7))>=5,5,BARSLAST(FG01))))  AND FG02=0 ,NODRAW;

GT:=BARSLAST(FG0),NODRAW;

DT:=BARSLAST(FD0),NODRAW;

LLLL:=DT=0 AND REF(DT,1)<GT AND L>REF(L,REF(DT,1)+1),NODRAW;

FG1:=BACKSET(REFX(GT,1)=0 AND GT<DT AND REFX(H,1)>=REF(H,GT),GT+1),NODRAW;

FD1:=BACKSET(REFX(DT,1)=0 AND DT<GT AND REFX(L,1)<=REF(L,DT),DT+1),NODRAW;

FG11:=IF(GT=0 AND REF(GT,1)<DT AND IF(REF(G,BARSLAST(L=LLV(L,7)))>REF(DY,BARSLAST(L=LLV(L,7))),BARSLAST(L=LLV(L,7))<5,1) AND  H<REF(H,REF(GT,1)+1),1,0),NODRAW;

FD11:=IF(DT=0 AND REF(DT,1)<GT AND IF(REF(G,BARSLAST(H=HHV(H,7)))<REF(DY,BARSLAST(H=HHV(H,7))),BARSLAST(H=HHV(H,7))<5,1) AND L>REF(L,REF(DT,1)+1),1,0),NODRAW;

GT1:=BARSLAST(FG11<>1 AND FG1<>1 AND FG0),NODRAW;

DT1:=BARSLAST(FD11<>1 AND FD1<>1 AND FD0),NODRAW;

FD2:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)>LLV(L,GT1+5),DT1+1),NODRAW;

FG2A:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)<=LLV(L,GT1+5) AND REF(H,GT1)>HHV(H,GT1+5),GT1+1),NODRAW;

FG2B:=IF(GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 AND REF(L,DT1)<=LLV(L,REF(GT1,1)+6) AND H>HHV(H,REF(GT1,1)+6),1,0),NODRAW;

FG2:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)<HHV(H,DT1+5),GT1+1),NODRAW;

FD2A:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)>=HHV(L,DT1+5) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;

FD2B:=IF(DT1=0 AND GT1<4 AND REF(DT1,1)-GT1<4 AND REF(H,GT1)>=HHV(H,REF(DT1,1)+6) AND L>LLV(L,REF(DT1,1)+6),1,0),NODRAW;

TTTTTT:= H<REF(H,REF(GT1,1)+1) AND DT1<4,NODRAW;

HHHHHH:=REF(LLV(L,10),DT1),NODRAW;

FG21:=IF(GT1=0 AND DT1<4 AND H<=REF(H,REF(GT1,1)+1)  ,1,0),NODRAW;

FD21:=IF(DT1=0 AND GT1<4  AND L>=REF(L,REF(DT1,1)+1) ,1,0),NODRAW;

FD231:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND REF(L,DT1)>REF(LLV(L,10),DT1),DT1+1),NODRAW;

FG23:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND  GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND (REF(H,GT1)<REF(HHV(H,13),GT1) OR REF(FD231,DT1)=0),GT1+1),NODRAW;

FG231:=BACKSET(REFX(DT1,1)=0 AND GT1>3  AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND REF(H,GT1)<REF(HHV(H,10),GT1) ,GT1+1),NODRAW;

FD23:=BACKSET(REFX(DT1,1)=0 AND GT1>3  AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND ( REF(L,DT1)>REF(LLV(L,13),DT1) OR REF(FG231,GT1)=0),DT1+1),NODRAW;

FDD23:=REF(H,GT1)<REF(HHV(H,10),GT1) OR REF(FD23,DT1)=0,NODRAW;

FD24:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)<HHV(H,GT1+3) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;

FG24:=BACKSET(REFX(DT1,1)=0 AND GT1>3  AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)>LLV(L,DT1+3) AND REF(H,GT1)<HHV(H,GT1+5),GT1+1),NODRAW;

GT2:=BARSLAST(FG21<>1 AND FG23<>1 AND FG231<>1 AND FG24<>1   AND FG2<>1 AND FG2A<>1 AND FG2B<>1 AND GT1=0),NODRAW;

DT2:=BARSLAST(FD21<>1 AND FD23<>1 AND FD231<>1 AND FD24<>1  AND FD2<>1 AND FD2A<>1 AND FD2B<>1 AND DT1=0),NODRAW;

FG3:=BACKSET(REFX(GT2,1)=0 AND GT2<DT2 AND REFX(H,1)>=REF(H,GT2),GT2+1),NODRAW;

FD3:=BACKSET(REFX(DT2,1)=0 AND DT2<GT2 AND REFX(L,1)<=REF(L,DT2),DT2+1),NODRAW;

FG31:=IF(GT2=0 AND REF(GT2,1)<DT2 AND H<REF(H,REF(GT2,1)+1),1,0),NODRAW;

FD31:=IF(DT2=0 AND REF(DT2,1)<GT2 AND L>REF(L,REF(DT2,1)+1),1,0),NODRAW;

GT3:=BARSLAST(GT2=0 AND FG3<>1 AND FG31<>1 ),NODRAW;

DT3:=BARSLAST(DT2=0 AND  FD3<>1 AND FD31<>1),NODRAW;

FG4:=BACKSET(REFX(GT3,1)=0 AND GT3<DT3 AND REFX(H,1)>=REF(H,GT3),GT3+1),NODRAW;

FD4:=BACKSET(REFX(DT3,1)=0 AND DT3<GT3 AND REFX(L,1)<=REF(L,DT3),DT3+1),NODRAW;

FG41:IF(GT3=0 AND REF(GT3,1)<DT3 AND H<REF(H,REF(GT3,1)+1),1,0),NODRAW;

FD41:IF(DT3=0 AND REF(DT3,1)<GT3 AND L>REF(L,REF(DT3,1)+1),1,0),NODRAW;

HHH:=GT3=0 AND FG31<>1 AND  FG3<>1,NODRAW;

LLL:=DT3=0 AND FD31<>1 AND  FD3<>1,NODRAW;

DRAWLINE1(HHH,H,LLL,L,0),LINETHICK2,RGB(0,255,0);

DRAWLINE1(LLL,L,HHH,H,0),RGB(255,128,192),LINETHICK2;

DX:=HHH||LLL;

L1:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,3)),0.5);

L2:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,2)),0.5);

L3:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,1)),0.5);

PP:=IF(HHH,H,IF(LLL,L,H));

A1:=VALUEWHEN(L1,PP);

A2:=VALUEWHEN(L2,PP);

A3:=VALUEWHEN(L3,PP);

AA1:=REFX1((A2-A1)*0.382+A3,10000);

AA2:=REFX1((A2-A1)*0.5+A3,10000);

AA3:=REFX1((A2-A1)*0.618+A3,10000);

AA4:=REFX1((A2-A1)+A3,10000);

AA5:=REFX1((A2-A1)*1.5+A3,10000);

AA6:=REFX1((A2-A1)*1.618+A3,10000);

AA7:=REFX1((A2-A1)*1.382+A3,10000);

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶(hù)發(fā)布,不代表本站觀(guān)點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶(hù) 評(píng)論公約

    国产成人精品视频一区二区三区| 暴力性生活在线免费视频| 男生和女生哪个更好色| 激情亚洲内射一区二区三区| 日韩精品少妇人妻一区二区| 精品少妇人妻av一区二区蜜桃 | 欧美日韩国产自拍亚洲| 日韩精品在线观看一区| 国内尹人香蕉综合在线| 亚洲午夜精品视频观看| 久久精品一区二区少妇| 国产精品自拍杆香蕉视频| 国产精品国三级国产专不卡| 亚洲中文字幕熟女丝袜久久| 蜜臀人妻一区二区三区| 精品国模一区二区三区欧美| 日韩少妇人妻中文字幕| 欧美六区视频在线观看| 婷婷色香五月综合激激情| 不卡中文字幕在线视频| 亚洲精品熟女国产多毛| 办公室丝袜高跟秘书国产| 色婷婷丁香激情五月天| 欧美日本道一区二区三区| 福利专区 久久精品午夜| 男人把女人操得嗷嗷叫| 熟女少妇一区二区三区蜜桃| 亚洲免费观看一区二区三区| 中文字幕一区二区三区中文| 国产一区日韩二区欧美| 国产精品欧美激情在线播放| 二区久久久国产av色| 青青免费操手机在线视频| 男女午夜在线免费观看视频| 白白操白白在线免费观看| 国产欧美日韩精品一区二区| 国产精品二区三区免费播放心| 微拍一区二区三区福利| 富婆又大又白又丰满又紧又硬| 91亚洲国产成人久久| 国产日本欧美特黄在线观看|