峰值过滤:=IF(最大值<8,40,IF(最大值<14,25,15));
线宽调整:=IF(C<1.5,0.003,IF(C<3,0.01,IF(C<10,0.02,IF(C<16,0.03,IF(C<30,0.05,0.06)))))*(5/10);
线条长度:=3;
STICKLINE(ISLASTBAR AND A1 >最大值/线条长度 AND A1 =MAX(MX0,MX1),HB ,HB+线宽调整 ,A1*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A1 >最大值/线条长度 AND A1 =MAX(MX0,MX1),B31 ,B31+线宽调整 ,A1*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A2 >最大值/线条长度 AND A2 =MAX(MX0,MX1),B32 ,B32+线宽调整 ,A2*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A3 >最大值/线条长度 AND A3 =MAX(MX0,MX1),B33 ,B33+线宽调整 ,A3*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A4 >最大值/线条长度 AND A4 =MAX(MX0,MX1),B34 ,B34+线宽调整 ,A4*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A5 >最大值/线条长度 AND A5 =MAX(MX0,MX1),B35 ,B35+线宽调整 ,A5*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A6 >最大值/线条长度 AND A6 =MAX(MX0,MX1),B36 ,B36+线宽调整 ,A6*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A7 >最大值/线条长度 AND A7 =MAX(MX0,MX1),B37 ,B37+线宽调整 ,A7*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A8 >最大值/线条长度 AND A8 =MAX(MX0,MX1),B38 ,B38+线宽调整 ,A8*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A9 >最大值/线条长度 AND A9 =MAX(MX0,MX1),B39 ,B39+线宽调整 ,A9*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A10 >最大值/线条长度 AND A10 =MAX(MX0,MX1),B310 ,B310+线宽调整 ,A10*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A11 >最大值/线条长度 AND A11 =MAX(MX0,MX1),B311 ,B311+线宽调整 ,A11*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A12 >最大值/线条长度 AND A12 =MAX(MX0,MX1),B312 ,B312+线宽调整 ,A12*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A13 >最大值/线条长度 AND A13 =MAX(MX0,MX1),B313 ,B313+线宽调整 ,A13*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A14 >最大值/线条长度 AND A14 =MAX(MX0,MX1),B314 ,B314+线宽调整 ,A14*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A15 >最大值/线条长度 AND A15 =MAX(MX0,MX1),B315 ,B315+线宽调整 ,A15*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A16 >最大值/线条长度 AND A16 =MAX(MX0,MX1),B316 ,B316+线宽调整 ,A16*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A17 >最大值/线条长度 AND A17 =MAX(MX0,MX1),B317 ,B317+线宽调整 ,A17*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A18 >最大值/线条长度 AND A18 =MAX(MX0,MX1),B318 ,B318+线宽调整 ,A18*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A19 >最大值/线条长度 AND A19 =MAX(MX0,MX1),B319 ,B319+线宽调整 ,A19*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A20 >最大值/线条长度 AND A20 =MAX(MX0,MX1),B320 ,B320+线宽调整 ,A20*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A21 >最大值/线条长度 AND A21 =MX2,B321 ,B321+线宽调整 ,A21*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A22 >最大值/线条长度 AND A22 =MX2,B322 ,B322+线宽调整 ,A22*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A23 >最大值/线条长度 AND A23 =MX2,B323 ,B323+线宽调整 ,A23*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A24 >最大值/线条长度 AND A24 =MX2,B324 ,B324+线宽调整 ,A24*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A25 >最大值/线条长度 AND A25 =MX2,B325 ,B325+线宽调整 ,A25*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A26 >最大值/线条长度 AND A26 =MX2,B326 ,B326+线宽调整 ,A26*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A27 >最大值/线条长度 AND A27 =MX2,B327 ,B327+线宽调整 ,A27*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A28 >最大值/线条长度 AND A28 =MX2,B328 ,B328+线宽调整 ,A28*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A29 >最大值/线条长度 AND A29 =MX2,B329 ,B329+线宽调整 ,A29*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A30 >最大值/线条长度 AND A30 =MX2,B330 ,B330+线宽调整 ,A30*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A31 >最大值/线条长度 AND A31 =MAX(MX3,MX4),B331 ,B331+线宽调整 ,A31*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A32 >最大值/线条长度 AND A32 =MAX(MX3,MX4),B332 ,B332+线宽调整 ,A32*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A33 >最大值/线条长度 AND A33 =MAX(MX3,MX4),B333 ,B333+线宽调整 ,A33*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A34 >最大值/线条长度 AND A34 =MAX(MX3,MX4),B334 ,B334+线宽调整 ,A34*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A35 >最大值/线条长度 AND A35 =MAX(MX3,MX4),B335 ,B335+线宽调整 ,A35*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A36 >最大值/线条长度 AND A36 =MAX(MX3,MX4),B336 ,B336+线宽调整 ,A36*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A37 >最大值/线条长度 AND A37 =MAX(MX3,MX4),B337 ,B337+线宽调整 ,A37*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A38 >最大值/线条长度 AND A38 =MAX(MX3,MX4),B338 ,B338+线宽调整 ,A38*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A39 >最大值/线条长度 AND A39 =MAX(MX3,MX4),B339 ,B339+线宽调整 ,A39*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A40 >最大值/线条长度 AND A40 =MAX(MX3,MX4),B340 ,B340+线宽调整 ,A40*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A41 >最大值/线条长度 AND A41 =MAX(MX3,MX4),B341 ,B341+线宽调整 ,A41*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A42 >最大值/线条长度 AND A42 =MAX(MX3,MX4),B342 ,B342+线宽调整 ,A42*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A43 >最大值/线条长度 AND A43 =MAX(MX3,MX4),B343 ,B343+线宽调整 ,A43*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A44 >最大值/线条长度 AND A44 =MAX(MX3,MX4),B344 ,B344+线宽调整 ,A44*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A45 >最大值/线条长度 AND A45 =MAX(MX3,MX4),B345 ,B345+线宽调整 ,A45*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A46 >最大值/线条长度 AND A46 =MAX(MX3,MX4),B346 ,B346+线宽调整 ,A46*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A47 >最大值/线条长度 AND A47 =MAX(MX3,MX4),B347 ,B347+线宽调整 ,A47*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A48 >最大值/线条长度 AND A48 =MAX(MX3,MX4),B348 ,B348+线宽调整 ,A48*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A49 >最大值/线条长度 AND A49 =MAX(MX3,MX4),B349 ,B349+线宽调整 ,A49*峰值过滤 ,0 ),COLORYELLOW;
STICKLINE(ISLASTBAR AND A50 >最大值/线条长度 AND A50 =MAX(MX3,MX4),LB ,LB+线宽调整 ,A50*峰值过滤 ,0 ),COLORYELLOW;
{DRAWKLINE(HIGH,OPEN,LOW,CLOSE);}; |