缠论选股公式,,附图和选股为一个公式,,喜欢的自己研究,出现信号的位置叠加黄金线支撑,或者左峰的位置最佳,异动下来回踩也是加分,比如控盘下来,长阴短柱,缩倍等信号,共振信号越多越强, 指标源码 {缠论选股} VAR0 := ((HIGH - REF(HIGH,1)) / REF(HIGH,1)) * 100; VAR1 := ((HIGH - REF(LOW,1)) / REF(LOW,1)) * 100; VAR2 := VAR0; VAR3 := -1 * VAR1; VAR4 := ((C - REF(C,1)) / REF(C,1)) * 100; VAR5 := (SUM(VAR4,3) * 30) - MA(SUM(VAR4,3),45); VAR6 := (VAR4 * 30) - REF(SUM(VAR4,3),1); VAR7 := DYNAINFO(17) > 0; VAR8 := IF(NAMELIKE(1),0,1); VAR9 := VAR8 AND VAR7; VAR10 := ((C - REF(C,1)) / REF(C,1)) * 100; VAR11 := ((C - REF(C,2)) / REF(C,2)) * 100; VAR12 := ((C - REF(C,3)) / REF(C,3)) * 100; VAR13 := ((C - REF(C,4)) / REF(C,4)) * 100; VAR14 := ((C - REF(C,5)) / REF(C,5)) * 100; VAR15 := ((C - REF(C,6)) / REF(C,6)) * 100; VAR16 := ((C - REF(C,7)) / REF(C,7)) * 100; VAR17 := ((C - REF(C,8)) / REF(C,8)) * 100; VAR18 := ((C - REF(C,9)) / REF(C,9)) * 100; VAR19 := ((C - REF(C,10)) / REF(C,10)) * 100; VAR20 := (((VAR10 + VAR11) + VAR12) + VAR13) + VAR14; VAR21 := ((((((((VAR10 + VAR11) + VAR12) + VAR13) + VAR14) + VAR15) + VAR16) + VAR17) + VAR18) + VAR19; VAR22 := ((SUM(VAR20,3) * 30) - MA(SUM(VAR20,3),45)) / 10; VAR23 := ((VAR21 * 30) - REF(SUM(VAR21,3),1)) / 10; VAR24 := ((VAR20 * 30) - REF(SUM(VAR20,3),1)) / 10; VAR25 := MA(VAR23,20); VAR26 := REF(VAR25 + (2 * STD(VAR23,20)),1); VAR27 := ((((VAR23 + VAR24) + VAR22) + VAR5) + VAR6) / 5; VAR28 := (((HIGH - C) - REF(C,1)) / REF(C,1)) * 100; VAR29 := (((HIGH - REF(C,1)) - REF(C,2)) / REF(C,2)) * 100; VAR30 := (((HIGH - REF(C,2)) - REF(C,3)) / REF(C,3)) * 100; VAR31 := (((HIGH - REF(C,3)) - REF(C,4)) / REF(C,4)) * 100; VAR32 := (((HIGH - REF(C,4)) - REF(C,5)) / REF(C,5)) * 100; VAR33 := (((HIGH - REF(C,5)) - REF(C,6)) / REF(C,6)) * 100; VAR34 := (((HIGH - REF(C,6)) - REF(C,7)) / REF(C,7)) * 100; VAR35 := (((HIGH - REF(C,7)) - REF(C,8)) / REF(C,8)) * 100; VAR36 := (((HIGH - REF(C,8)) - REF(C,9)) / REF(C,9)) * 100; VAR37 := (((HIGH - REF(C,9)) - REF(C,10)) / REF(C,10)) * 100; VAR38 := (((VAR28 + VAR29) + VAR30) + VAR31) + VAR32; VAR39 := ((((((((VAR28 + VAR29) + VAR30) + VAR31) + VAR32) + VAR33) + VAR34) + VAR35) + VAR36) + VAR37; VAR40 := ((SUM(VAR38,3) * 30) - MA(SUM(VAR38,3),45)) / 10; VAR41 := ((VAR39 * 30) - REF(SUM(VAR39,3),1)) / 10; VAR42 := ((VAR38 * 30) - REF(SUM(VAR38,3),1)) / 10; VAR43 := (((HIGH - C) - REF(C,1)) / REF(C,1)) * 100; VAR44 := (SUM(VAR43,3) * 30) - MA(SUM(VAR43,3),45); VAR45 := (VAR43 * 30) - REF(SUM(VAR43,3),1); VAR46 := MA(((((VAR41 + VAR42) + VAR40) + VAR44) + VAR45) / 5000,13); VAR47 := (((LOW - OPEN) - REF(OPEN,1)) / REF(OPEN,1)) * 100; VAR48 := (((LOW - REF(OPEN,1)) - REF(OPEN,2)) / REF(OPEN,2)) * 100; VAR49 := (((LOW - REF(OPEN,2)) - REF(OPEN,3)) / REF(OPEN,3)) * 100; VAR50 := (((LOW - REF(OPEN,3)) - REF(OPEN,4)) / REF(OPEN,4)) * 100; VAR51 := (((LOW - REF(OPEN,4)) - REF(OPEN,5)) / REF(OPEN,5)) * 100; VAR52 := (((LOW - REF(OPEN,5)) - REF(OPEN,6)) / REF(OPEN,6)) * 100; VAR53 := (((LOW - REF(OPEN,6)) - REF(OPEN,7)) / REF(OPEN,7)) * 100; VAR54 := (((LOW - REF(OPEN,7)) - REF(OPEN,8)) / REF(OPEN,8)) * 100; VAR55 := (((LOW - REF(OPEN,8)) - REF(OPEN,9)) / REF(OPEN,9)) * 100; VAR56 := (((LOW - REF(OPEN,9)) - REF(OPEN,10)) / REF(OPEN,10)) * 100; VAR57 := (((VAR47 + VAR48) + VAR49) + VAR50) + VAR51; VAR58 := ((((((((VAR47 + VAR48) + VAR49) + VAR50) + VAR51) + VAR52) + VAR53) + VAR54) + VAR55) + VAR56; VAR59 := ((SUM(VAR57,3) * 30) - MA(SUM(VAR57,3),45)) / 10; VAR60 := ((VAR58 * 30) - REF(SUM(VAR58,3),1)) / 10; VAR61 := ((VAR57 * 30) - REF(SUM(VAR57,3),1)) / 10; VAR62 := (((LOW - OPEN) - REF(OPEN,1)) / REF(OPEN,1)) * 100; VAR63 := (SUM(VAR62,3) * 30) - MA(SUM(VAR62,3),45); VAR64 := (VAR62 * 30) - REF(SUM(VAR62,3),1); VAR65 := MA(((((VAR60 + VAR61) + VAR59) + VAR63) + VAR64) / 5000,13); VAR66 := (MA(VAR46 - REF(VAR46,1),3)) * 100; VAR67 := (-1 * (MA(VAR65 - REF(VAR65,1),3))) * 100; VAR68 := MA((VOL - REF(VOL,1)) / REF(VOL,1),5); VAR69 := ((C - MA(C,24)) / MA(C,24)) * 100; VAR70 := VAR69 * (1 + VAR68); VAR71 := MA(VAR70,3); VAR72 := (C - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20)); VAR73 := VAR72 * 100; VAR74 := SMA(SMA(VAR73,3,1),3,1) / 30; VAR75 := (((((((((((VAR2 < VAR3) AND (C < MA(C,10))) AND ((VAR26 - REF(VAR26,1)) > 20)) AND (VAR27 < 'CCI.CCI')) AND VAR9) AND (VAR67 > 1)) AND (VAR66 > -0.5)) AND (EXIST(LLV(VOL,5) > (REF(HHV(VOL,5) / 10,1)),5))) AND (VAR4 > -8)) AND ((REF(HHV(VAR23 - REF(VAR23,1),10),1)) < ((REF(LLV(VAR23 - REF(VAR23,1),10),2)) + 600))) AND (VAR71 < -5)) AND (VAR74 > 0); VAR76 := (C - REF(C,1)) * 100; VAR77 := (HHV(HIGH,2) - HHV(C,2)) * 100; VAR78 := (LLV(LOW,2) - LLV(C,2)) * 100; VAR79 := MA(VAR76,2); VAR80 := MA(VAR78,9); VAR81 := ((((((((VAR2 < VAR3) AND (C < MA(C,10))) AND (VAR26 < 600)) AND (VAR26 > 50)) AND (VAR27 < 0)) AND (VAR67 > 0.8)) AND (VAR66 > -0.8)) AND (VAR71 < 0)) AND (VAR79 < VAR80); VAR82 := 9; VAR83 := 30; VAR84 := 56; VAR85 := LLV(LOW,VAR82); VAR86 := HHV(HIGH,2 * VAR82); VAR87 := REF(HHV(HIGH,VAR84),VAR82 + VAR83); VAR88 := ((VAR86 = (HHV(HIGH,(VAR83 + VAR82) + VAR84))) AND (VAR85 > VAR87)) AND ((VAR85 / VAR86) < 0.97); XGG1 : VAR88 AND VAR81; 为防止失联,请加个人微信! 朋友圈有操作回顾
|
|