|
飞狐的:
{古道西风主图}
DRAWGBK(CLOSE>0, COLORRGB(1,8888,8888), COLORRGB(1,3333,6666),3);
a1:=EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3);
a2:=EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA( CLOSE,7))/3,3);
a3:=EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA( CLOSE,9))/3,3);
a4:=EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA( CLOSE,11))/3,3);
a5:=EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA( CLOSE,13))/3,3);
a6:=EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA( CLOSE,15))/3,3);
a7:=EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA( CLOSE,17))/3,3);
a8:=EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA( CLOSE,19))/3,3);
a9:=EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA( CLOSE,21))/3,3);
a10:=EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA( CLOSE,23))/3,3);
a11:=EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA( CLOSE,25))/3,3);
A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),LINETHICK0;
a15:=a-(a1-a*0.997),colorFF1010;
a16:=a-(a2-a),colorff2010;
a17:=a-(a3-a),colorff3010;
a18:=a-(a4-a),colorff4010;
a19:=a-(a5-a),colorff5010;
a20:=a-(a6-a),colorff6010;
a21:=a-(a7-a),colorff7010;
a22:=a-(a8-a),colorff8010;
a23:=a-(a9-a),colorff9010;
a24:=a-(a10-a),colorffc010;
a25:=a-(a11-a*0.997),colorffe010;
FILLRGN(A9>A,A9,A),color436873;
FILLRGN(A9<A,A9,A),color436873;
FILLRGN(A23<A,A,A23),color4D635A;
FILLRGN(A23>A,A,A23),color4D635A;
PARTLINE(1,a15),colorFF1010;PARTLINE(1,a16),colorFF2010;
PARTLINE(1,a17),colorFF3010;PARTLINE(1,a18),colorFF4010;
PARTLINE(1,a19),colorFF5010;PARTLINE(1,a20),colorFF6010;
PARTLINE(1,a21),colorFF7010;PARTLINE(1,a22),colorFF8010;
PARTLINE(1,a23),colorFF9010;PARTLINE(1,a24),colorFFc010;
PARTLINE(1,a25),colorFFe010;
PARTLINE(1,a1),color1010FF;PARTLINE(1,a2),color1020FF;
PARTLINE(1,a3),color1030FF;PARTLINE(1,a4),color1040FF;
PARTLINE(1,a5),color1050FF;PARTLINE(1,a6),color1060FF;
PARTLINE(1,a7),color1070FF;PARTLINE(1,a8),color1080FF;
PARTLINE(1,a9),color1090FF;PARTLINE(1,a10),color10c0FF;
PARTLINE(1,a11),color10e0FF;
a:=(3*CLOSE+LOW+OPEN+HIGH)/6;
中轴: MA(CLOSE,21),colorffcc33,;
压力:中轴 + 2*STD(CLOSE,21),COLORRED,linethick2;
支撑: 中轴 - 2*STD(CLOSE,21),COLORRED,linethick2;
DRAWICON(CLOSE>=MA(CLOSE,20),MA(CLOSE,20),10);
DRAWICON(CLOSE<MA(CLOSE,20),MA(CLOSE,20),11);
FD:=(HIGH-LOW)/3;
OPEN1:=OPEN>FD*2+LOW;
OPEN3:=OPEN<FD+LOW;
OPEN2:=NOT(OPEN1 OR OPEN3);
CLOSE1:=CLOSE>FD*2+LOW;
CLOSE3:=CLOSE<FD+LOW;
CLOSE2:=NOT(CLOSE1 OR CLOSE3);
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
WQS1:=OPEN2 AND CLOSE2;
KFZD:=NOT(DFZD OR WQS1);
ZD:=(HIGH+LOW)/2;
QSXS:=ZD>REF(HIGH,1);
QSXX:=ZD<REF(LOW,1);
WQS2:=NOT(QSXS OR QSXX);
ZTDL:=VOL>REF(VOL,1)*1.1 OR AMOUNT>REF(AMOUNT,1)*1.5;
FTDL:=VOL<REF(VOL,1)*0.7 OR AMOUNT<REF(AMOUNT,1)*0.5;
ZTDL2:=ZTDL AND FTDL<1;
FTDL2:=FTDL AND ZTDL<1;
MFI1:=(HIGH-LOW)/(VOL/10000);
MFI2:=(HIGH-LOW)/(AMOUNT/1000000);
ZMFI1:=MFI1>REF(MFI1,1);
ZMFI2:=MFI2>REF(MFI2,1);
ZMFI:=ZMFI1 OR ZMFI2;
FMFI:=NOT(ZMFI);
LD:=ZTDL2 AND ZMFI;
ST:=FTDL2 AND FMFI;
WZ:=FTDL2 AND ZMFI;
QF:=ZTDL2 AND FMFI;
A1:=REF(HIGH,2);
A2:=FILTER(HHV(HIGH,5)=A1,2);
A3:=BACKSET(A2,3);
A4:=IF(FILTER(A3,2),HIGH,0);
A5:=SUM(A4,3);
C1:=REF(LOW,2);
C2:=FILTER(LLV(LOW,5)=C1,2);
C3:=BACKSET(C2,3);
C4:=IF(FILTER(C3,2),LOW,0);
C5:=SUM(C4,3);
XHWZ1:=HIGH*1.003;
XHWZ2:=LOW*0.998;
XHWZ3:=IF(QSXX,XHWZ2,IF(QSXS,XHWZ1,IF(DFZD,XHWZ1,XHWZ2)));
XHWZ4:=IF(ZD<REF(ZD,1),XHWZ2,XHWZ1);
S1:=DFZD AND QSXS ;
S2:=KFZD AND QSXX ;
S3:=DFZD AND QSXX;
S4:=KFZD AND QSXS;
S5:=DFZD AND WQS2;
S6:=KFZD AND WQS2;
S7:=WQS1 AND (QSXS OR QSXX OR WQS2);
STICKLINE(1,LOW,HIGH,0.5,0 ),COLOR00FFFF;
STICKLINE(S2 ,CLOSE ,OPEN,7,0 ),COLORFF2020;
STICKLINE(S1,CLOSE,OPEN,7 ,0 ),COLOR2020FF;
STICKLINE(S3,CLOSE,OPEN,7,0),COLORYELLOW;
STICKLINE(S4,CLOSE,OPEN,7,0),COLORCYAN;
STICKLINE(S5,CLOSE,OPEN,7,0),COLORMAGENTA;
STICKLINE(S6,CLOSE,OPEN,7,0),COLORGREEN;
STICKLINE(S7,CLOSE,OPEN,7,0),COLORGRAY;
STICKLINE(1,CLOSE,OPEN,2,0),COLORWHITE;
STICKLINE(LD,XHWZ3,XHWZ3*0.999,3,0),COLORGREEN;
STICKLINE(ST,XHWZ3,XHWZ3*0.999,3,0),COLORMAGENTA;
STICKLINE(WZ,XHWZ3,XHWZ3*0.999,3,0),COLORYELLOW;
STICKLINE(QF,XHWZ3,XHWZ3*0.999,3,0),COLORRED;
STICKLINE(A5>0.1,A5,A5*1.0001,6,0);
STICKLINE(C5>0.1,C5,C5*1.0001,6,0);
分析家的:
{古道西风主图}
DRAWGBK(c>0,STRIP(RGB(0,180,235),RGB(0,15,0),37));
中轴:ma(c,21),colorffcc33;
压力:中轴 + 2*STD(c,21),COLORRED,linethick2;
支撑:中轴 - 2*STD(c,21),COLORRED,linethick2;
DRAWTEXT(c>=ma(c,20) ,ma(c,20) ,'·' ),Color0000FF,ALIGN1;
DRAWTEXT(c<ma(c,20) ,ma(c,20) ,'·' ),Color00FF00,ALIGN1;
DRAWTEXT(c>=ma(c,20) ,ma(c,20) ,'◎' ),Color0000FF,ALIGN1;
DRAWTEXT(c<ma(c,20) ,ma(c,20) ,'◎' ),Color00FF00,ALIGN1;
a1:=ema((ema(c,1)+ema(c,3)+ema(c,5))/3,3);
a2:=ema((ema(c,3)+ema(c,5)+ema( c,7))/3,3);
a3:=ema((ema(c,5)+ema(c,7)+ema( c,9))/3,3);
a4:=ema((ema(c,7)+ema(c,9)+ema( c,11))/3,3);
a5:=ema((ema(c,9)+ema(c,11)+ema( c,13))/3,3);
a6:=ema((ema(c,11)+ema(c,13)+ema( c,15))/3,3);
a7:=ema((ema(c,13)+ema(c,15)+ema( c,17))/3,3);
a8:=ema((ema(c,15)+ema(c,17)+ema( c,19))/3,3);
a9:=ema((ema(c,17)+ema(c,19)+ema( c,21))/3,3);
a10:=ema((ema(c,19)+ema(c,21)+ema( c,23))/3,3);
a11:=ema((ema(c,21)+ema(c,23)+ema( c,25))/3,3);
A:=ema((ema(c,29)+ema(c,31)+ema(c,33))/3,3);
a15:=a-(a1-a*0.997);
a16:=a-(a2-a);
a17:=a-(a3-a);
a18:=a-(a4-a);
a19:=a-(a5-a);
a20:=a-(a6-a);
a21:=a-(a7-a);
a22:=a-(a8-a);
a23:=a-(a9-a);
a24:=a-(a10-a);
a25:=a-(a11-a*0.997);
FILLRGN(A9,A,A9>A),color436873;
FILLRGN(A9,A,A9<A),color436873;
FILLRGN(A,A23,A23<A),color4D635A;
FILLRGN(A,A23,A23>A),color4D635A;
PARTLINE(a15,1),colorFF1010;PARTLINE(a16,1),colorFF2010;
PARTLINE(a17,1),colorFF3010;PARTLINE(a18,1),colorFF4010;
PARTLINE(a19,1),colorFF5010;PARTLINE(a20,1),colorFF6010;
PARTLINE(a21,1),colorFF7010;PARTLINE(a22,1),colorFF8010;
PARTLINE(a23,1),colorFF9010;PARTLINE(a24,1),colorFFc010;
PARTLINE(a25,1),colorFFe010;
PARTLINE(a1,1),color1010FF;PARTLINE(a2,1),color1020FF;
PARTLINE(a3,1),color1030FF;PARTLINE(a4,1),color1040FF;
PARTLINE(a5,1),color1050FF;PARTLINE(a6,1),color1060FF;
PARTLINE(a7,1),color1070FF;PARTLINE(a8,1),color1080FF;
PARTLINE(a9,1),color1090FF;PARTLINE(a10,1),color10c0FF;
PARTLINE(a11,1),color10e0FF;
FD:=(h-l)/3;
OPEN1:=o>FD*2+l;
OPEN3:=o<FD+l;
OPEN2:=not(OPEN1 OR OPEN3);
CLOSE1:=c>FD*2+l;
CLOSE3:=c<FD+l;
CLOSE2:=not(CLOSE1 OR CLOSE3);
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
WQS1:=OPEN2 AND CLOSE2;
KFZD:=not(DFZD OR WQS1);
ZD:=(h+l)/2;
QSXS:=ZD>REF(h,1);
QSXX:=ZD<REF(l,1);
WQS2:=not(QSXS OR QSXX);
ZTDL:=v>REF(v,1)*1.1 OR v>REF(v,1)*1.5;
FTDL:=v<REF(v,1)*0.7 OR v<REF(v,1)*0.5;
ZTDL2:=ZTDL AND FTDL<1;
FTDL2:=FTDL AND ZTDL<1;
MFI1:=(h-l)/(v/10000);
MFI2:=(h-l)/(v/1000000);
ZMFI1:=MFI1>REF(MFI1,1);
ZMFI2:=MFI2>REF(MFI2,1);
ZMFI:=ZMFI1 OR ZMFI2;
FMFI:=not(ZMFI);
LD:=ZTDL2 AND ZMFI;
ST:=FTDL2 AND FMFI;
WZ:=FTDL2 AND ZMFI;
QF:=ZTDL2 AND FMFI;
AA1:=REF(h,2);
AA2:=FILTER(hhv(h,5)=AA1,2);
AA3:=BACKSET(AA2,3);
AA4:=if(FILTER(A3,2),h,0);
AA5:=SUM(AA4,3);
C1:=REF(l,2);
C2:=FILTER(llv(l,5)=C1,2);
C3:=BACKSET(C2,3);
C4:=if(FILTER(C3,2),l,0);
C5:=SUM(C4,3);
XHWZ1:=h*1.003;
XHWZ2:=l*0.998;
XHWZ3:=if(QSXX,XHWZ2,if(QSXS,XHWZ1,if(DFZD,XHWZ1,XHWZ2)));
XHWZ4:=if(ZD<REF(ZD,1),XHWZ2,XHWZ1);
S1:=DFZD AND QSXS ;
S2:=KFZD AND QSXX ;
S3:=DFZD AND QSXX;
S4:=KFZD AND QSXS;
S5:=DFZD AND WQS2;
S6:=KFZD AND WQS2;
S7:=WQS1 AND (QSXS OR QSXX OR WQS2);
STICKLINE(1,l,h,0.5,0 ),COLOR00FFFF;
STICKLINE(S2 ,c ,o,7,0 ),COLORFF2020;
STICKLINE(S1,c,o,7 ,0 ),COLOR2020FF;
STICKLINE(S3,c,o,7,0),COLORYELLOW;
STICKLINE(S4,c,o,7,0),COLORCYAN;
STICKLINE(S5,c,o,7,0),COLORMAGENTA;
STICKLINE(S6,c,o,7,0),COLORGREEN;
STICKLINE(S7,c,o,7,0),COLORGRAY;
STICKLINE(1,c,o,2,0),COLORWHITE;
STICKLINE(LD,XHWZ3,XHWZ3*0.999,3,0),COLORGREEN;
STICKLINE(ST,XHWZ3,XHWZ3*0.999,3,0),COLORMAGENTA;
STICKLINE(WZ,XHWZ3,XHWZ3*0.999,3,0),COLORYELLOW;
STICKLINE(QF,XHWZ3,XHWZ3*0.999,3,0),COLORRED;
STICKLINE(AA5>0.1,AA5,AA5*1.0001,6,0);
STICKLINE(C5>0.1,C5,C5*1.0001,6,0);
大智慧的:
{古道西风主图}
中轴:ma(c,21),colorffcc33;
压力:中轴 + 2*STD(c,21),COLORRED,linethick2;
支撑:中轴 - 2*STD(c,21),COLORRED,linethick2;
a1:ema((ema(c,1)+ema(c,3)+ema(c,5))/3,3),color1010FF;
a2:ema((ema(c,3)+ema(c,5)+ema( c,7))/3,3),color1020FF;
a3:ema((ema(c,5)+ema(c,7)+ema( c,9))/3,3),color1030FF;
a4:ema((ema(c,7)+ema(c,9)+ema( c,11))/3,3),color1040FF;
a5:ema((ema(c,9)+ema(c,11)+ema( c,13))/3,3),color1050FF;
a6:ema((ema(c,11)+ema(c,13)+ema( c,15))/3,3),color1060FF;
a7:ema((ema(c,13)+ema(c,15)+ema( c,17))/3,3),color1070FF;
a8:ema((ema(c,15)+ema(c,17)+ema( c,19))/3,3),color1080FF;
a9:ema((ema(c,17)+ema(c,19)+ema( c,21))/3,3),color1090FF;
a10:ema((ema(c,19)+ema(c,21)+ema( c,23))/3,3),color10c0FF;
a11:ema((ema(c,21)+ema(c,23)+ema( c,25))/3,3),color10e0FF;
A:=ema((ema(c,29)+ema(c,31)+ema(c,33))/3,3);
a15:a-(a1-a*0.997),colorFF1010;
a16:a-(a2-a),colorFF2010;
a17:a-(a3-a),colorFF3010;
a18:a-(a4-a),colorFF4010;
a19:a-(a5-a),colorFF5010;
a20:a-(a6-a),colorFF6010;
a21:a-(a7-a),colorFF7010;
a22:a-(a8-a),colorFF8010;
a23:a-(a9-a),colorFF9010;
a24:a-(a10-a),colorFFc010;
a25:a-(a11-a*0.997),colorFFe010;
RANGE(A9,A,A9>A),color436873;
RANGE(A9,A,A9<A),color436873;
RANGE(A,A23,A23<A),color4D635A;
RANGE(A,A23,A23>A),color4D635A;
IF(a15<A11,A15,A11),colorFF1010;
IF(a16<A10,A16,A10),colorFF2010;
IF(a17<A9,A17,A9),colorFF3010;
IF(a18<A8,A18,A8),colorFF4010;
IF(a19<A7,A19,A7),colorFF5010;
IF(a20<A6,A20,A6),colorFF6010;
IF(a21<A5,A21,A5),colorFF7010;
IF(a22<A4,A22,A4),colorFF8010;
IF(a23<A3,A23,A3),colorFF9010;
IF(a24<A2,A24,A2),colorFFc010;
IF(a25<A1,A25,A1),colorFFe010;
IF(a1<A25,A1,A25),color1010FF;
IF(a2<A24,A2,A24),color1020FF;
IF(a3<A23,A3,A23),color1030FF;
IF(a4<A22,A4,A22),color1040FF;
IF(a5<A21,A5,A21),color1050FF;
IF(a6<A20,A6,A20),color1060FF;
IF(a7<A19,A7,A19),color1070FF;
IF(a8<A18,A8,A18),color1080FF;
IF(a9<A17,A9,A17),color1090FF;
IF(a10<A16,A10,A16),color10c0FF;
IF(a11<A15,A11,A15),color10e0FF;
DRAWTEXT(c>=ma(c,20) ,ma(c,20) ,'·' ),Color0000FF;
DRAWTEXT(c<ma(c,20) ,ma(c,20) ,'·' ),Color00FF00;
DRAWTEXT(c>=ma(c,20) ,ma(c,20) ,'◎' ),Color0000FF;
DRAWTEXT(c<ma(c,20) ,ma(c,20) ,'◎' ),Color00FF00;
FD:=(h-l)/3;
OPEN1:=o>FD*2+l;
OPEN3:=o<FD+l;
OPEN2:=not(OPEN1 OR OPEN3);
CLOSE1:=c>FD*2+l;
CLOSE3:=c<FD+l;
CLOSE2:=not(CLOSE1 OR CLOSE3);
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
WQS1:=OPEN2 AND CLOSE2;
KFZD:=not(DFZD OR WQS1);
ZD:=(h+l)/2;
QSXS:=ZD>REF(h,1);
QSXX:=ZD<REF(l,1);
WQS2:=not(QSXS OR QSXX);
ZTDL:=v>REF(v,1)*1.1 OR v>REF(v,1)*1.5;
FTDL:=v<REF(v,1)*0.7 OR v<REF(v,1)*0.5;
ZTDL2:=ZTDL AND FTDL<1;
FTDL2:=FTDL AND ZTDL<1;
MFI1:=(h-l)/(v/10000);
MFI2:=(h-l)/(v/1000000);
ZMFI1:=MFI1>REF(MFI1,1);
ZMFI2:=MFI2>REF(MFI2,1);
ZMFI:=ZMFI1 OR ZMFI2;
FMFI:=not(ZMFI);
LD:=ZTDL2 AND ZMFI;
ST:=FTDL2 AND FMFI;
WZ:=FTDL2 AND ZMFI;
QF:=ZTDL2 AND FMFI;
AA1:=REF(h,2);
AA2:=FILTER(hhv(h,5)=AA1,2);
AA3:=BACKSET(AA2,3);
AA4:=if(FILTER(A3,2),h,0);
AA5:=SUM(AA4,3);
C1:=REF(l,2);
C2:=FILTER(llv(l,5)=C1,2);
C3:=BACKSET(C2,3);
C4:=if(FILTER(C3,2),l,0);
C5:=SUM(C4,3);
XHWZ1:=h*1.003;
XHWZ2:=l*0.998;
XHWZ3:=if(QSXX,XHWZ2,if(QSXS,XHWZ1,if(DFZD,XHWZ1,XHWZ2)));
XHWZ4:=if(ZD<REF(ZD,1),XHWZ2,XHWZ1);
S1:=DFZD AND QSXS ;
S2:=KFZD AND QSXX ;
S3:=DFZD AND QSXX;
S4:=KFZD AND QSXS;
S5:=DFZD AND WQS2;
S6:=KFZD AND WQS2;
S7:=WQS1 AND (QSXS OR QSXX OR WQS2);
STICKLINE(1,l,h,0.5,0 ),COLOR00FFFF;
STICKLINE(S2 ,c ,o,7,0 ),COLORFF2020;
STICKLINE(S1,c,o,7 ,0 ),COLOR2020FF;
STICKLINE(S3,c,o,7,0),COLORYELLOW;
STICKLINE(S4,c,o,7,0),COLORFFCC66;
STICKLINE(S5,c,o,7,0),COLORFF00FF;
STICKLINE(S6,c,o,7,0),COLOR00FF00;
STICKLINE(S7,c,o,7,0),COLORGRAY;
STICKLINE(1,c,o,2,0),COLORWHITE;
STICKLINE(LD,XHWZ3,XHWZ3*0.999,3,0),COLOR00FF00;
STICKLINE(ST,XHWZ3,XHWZ3*0.999,3,0),COLORFF00FF;
STICKLINE(WZ,XHWZ3,XHWZ3*0.999,3,0),COLORYELLOW;
STICKLINE(QF,XHWZ3,XHWZ3*0.999,3,0),COLORRED;
STICKLINE(AA5>0.1,AA5,AA5*1.0001,5,0),COLORFF00FF;
STICKLINE(C5>0.1,C5,C5*1.0001,5,0),COLOR00FF00;
|
|