VAR1:=LLV(LOW,20); VAR2:=CLOSE-VAR1; VAR3:=HHV(HIGH,7); VAR4:=LLV(LOW,7); VAR5:=VAR2/(VAR3-VAR4)*100; VAR6:=SMA(VAR5,7,1); VAR7:=SMA(VAR6,7,1); VAR8:=VAR6*3; VAR9:=VAR7*2; VAR10:=VAR8-VAR9; VAR11:=EMA(CLOSE,1); VAR12:=EMA(CLOSE,3); VAR13:=VAR11-VAR12; VAR14:=EMA(VAR13,10); VAR15:=2*(VAR13-VAR14); VAR16:=VAR15>0; VAR17:=HIGH+LOW+CLOSE*2; VAR18:=DMA(VAR17/4.785,1); VAR19:=EMA(VAR18,9); VAR20:=REF(VAR19,1); VAR21:=crOSS(CLOSE,VAR20); VAR22:=IF(CODELIKE(1) OR CODELIKE(2),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH); VAR23:=IF(CODELIKE(3) OR CODELIKE(4),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH); VAR24:=VAR22 AND VAR23; VAR25:=IF(CODELIKE(1),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW); VAR26:=IF(CODELIKE(3),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW); VAR27:=VAR25 AND VAR26; VAR28:=NOT(VAR24) AND NOT(VAR27); VAR29:=IF(CODELIKE(3),0,1); VAR30:=IF(CODELIKE(5),0,1); VAR31:=IF(CODELIKE(6),0,1); VAR32:=IF(CODELIKE(7),0,1); VAR33:=IF(CODELIKE(8),0,1); VAR34:=IF(CODELIKE(9),0,1); VAR35:=IF(CODELIKE(10),0,1); VAR36:=IF(CODELIKE(11),0,1); VAR37:=VAR29 AND VAR30 AND VAR31 AND VAR32 AND VAR33 AND VAR34 AND VAR35 AND VAR36; 弱转强:VAR21 AND VAR10< 52 AND VAR16 AND VAR37 AND VAR28,NODRAW,COLORBLACK; STICKLINE(弱转强,L,L*0.999,50,0),COLORMAGENTA; STICKLINE(弱转强,O,C,2,0),COLORYELLOW; DRAWICON(弱转强,L,25);
VAR1:=LLV(LOW,20);
VAR2:=CLOSE-VAR1;
VAR3:=HHV(HIGH,7);
VAR4:=LLV(LOW,7);
VAR5:=VAR2/(VAR3-VAR4)*100;
VAR6:=SMA(VAR5,7,1);
VAR7:=SMA(VAR6,7,1);
VAR8:=VAR6*3;
VAR9:=VAR7*2;
VAR10:=VAR8-VAR9;
VAR11:=EMA(CLOSE,1);
VAR12:=EMA(CLOSE,3);
VAR13:=VAR11-VAR12;
VAR14:=EMA(VAR13,10);
VAR15:=2*(VAR13-VAR14);
VAR16:=VAR15>0;
VAR17:=HIGH+LOW+CLOSE*2;
VAR18:=DMA(VAR17/4.785,1);
VAR19:=EMA(VAR18,9);
VAR20:=REF(VAR19,1);
VAR21:=crOSS(CLOSE,VAR20);
VAR22:=IF(CODELIKE(1) OR CODELIKE(2),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
VAR23:=IF(CODELIKE(3) OR CODELIKE(4),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
VAR24:=VAR22 AND VAR23;
VAR25:=IF(CODELIKE(1),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
VAR26:=IF(CODELIKE(3),CLOSE<=DTPRICE(REF(CLOSE,1),0.2) AND CLOSE=LOW,CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW);
VAR27:=VAR25 AND VAR26;
VAR28:=NOT(VAR24) AND NOT(VAR27);
VAR29:=IF(CODELIKE(3),0,1);
VAR30:=IF(CODELIKE(5),0,1);
VAR31:=IF(CODELIKE(6),0,1);
VAR32:=IF(CODELIKE(7),0,1);
VAR33:=IF(CODELIKE(8),0,1);
VAR34:=IF(CODELIKE(9),0,1);
VAR35:=IF(CODELIKE(10),0,1);
VAR36:=IF(CODELIKE(11),0,1);
VAR37:=VAR29 AND VAR30 AND VAR31 AND VAR32 AND VAR33 AND VAR34 AND VAR35 AND VAR36;
弱转强:VAR21 AND VAR10< 52 AND VAR16 AND VAR37 AND VAR28,NODRAW,COLORBLACK;
STICKLINE(弱转强,L,L*0.999,50,0),COLORMAGENTA;
STICKLINE(弱转强,O,C,2,0),COLORYELLOW;
DRAWICON(弱转强,L,25);