主力成本走势 箱体通道买卖【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIHA:=IF(C>150,91.3,0.913);
箱体下沿:INTPART(C/CAIHA )*CAIHA,POINTDOT,LINETHICK3,COLORGREEN;
箱体上沿:箱体下沿+CAIHA,POINTDOT,LINETHICK3,COLORYELLOW ;
箱体中线 箱体下沿+箱体上沿)/2,POINTDOT,COLORWHITE,LINETHICK3;
趋势线:SMA(FORCAST(C,18),6,1),COLOR0066CF,LINETHICK2;
CAIH1:=(SMA(HIGH,21,2)*1.05);
CAIH2:=IF(C/REF(C,1)>1.050 AND V/CAPITAL*100<10 AND C<17 AND H/C0, 91, 0);
STICKLINE(CAIH2>90,L*0.99,L*0.96,5,0),COLORYELLOW;
DRAWTEXT(CAIH2>90,LOW*0.98,'→买'),COLORRED;
CHA1:=EMA(EMA(EMA(C,8),13),55);
CHA2:=(REF(H,1)+REF(L,1))/2;
CHA3:=MA(C,20)+2*STD(C,20);
DRAWTEXT(CROSS(CHA2,CHA3),HIGH*1.06,'→卖'),COLORGREEN;
STICKLINE((O>=C),C,O,9,0),COLORFF5B00;
STICKLINE((O>=C),C,O,8,0),COLORFF6C00;
STICKLINE((O>=C),C,O,7,0),COLORFF7B00;
STICKLINE((O>=C),C,O,6,0),COLORFF9C00;
STICKLINE((O>=C),C,O,5,0),COLORFFBE00;
STICKLINE((O>=C),C,O,3.5,0),COLORFFCC00;
STICKLINE((O>=C),C,O,1.5,0),COLORFFFF00;
STICKLINE((C>=O),C,O,9,0),COLOR070084;
STICKLINE((C>=O),C,O,8,0),COLOR0000A3;
STICKLINE((C>=O),C,O,7,0),COLOR0000B7;
STICKLINE((C>=O),C,O,6,0),COLOR0000CD;
STICKLINE((C>=O),C,O,5,0),COLOR0000E9;
STICKLINE((C>=O),C,O,3,0),COLOR0754E9;
STICKLINE((C>=O),C,O,1.5,0),COLOR076EF3;
STICKLINE((C>=O),C,O,1,0),COLOR077BF3;
STICKLINE((C>=O),O,LOW,1,0),COLOR0726CA;
STICKLINE((C>=O),C,HIGH,1,0),COLOR0726CA;
STICKLINE((O>=C),C,LOW,1,0),COLORDE9100;
STICKLINE((O>=C),O,HIGH,1,0),COLORDE9100;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,9,0),COLOR0090FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,8,0),COLOR009FFF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,4,0),COLOR00B5FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,2,0),COLOR00E4FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),O,LOW,0.7,0),COLOR00FFFF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,HIGH,0.7,0),COLOR00FFFF;
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
第二部分 选股公式
CAIHA:=IF(C>150,91.3,0.913);
箱体下沿:INTPART(C/CAIHA )*CAIHA,POINTDOT,LINETHICK3,COLORGREEN;
箱体上沿:箱体下沿+CAIHA,POINTDOT,LINETHICK3,COLORYELLOW ;
箱体中线
趋势线:SMA(FORCAST(C,18),6,1),COLOR0066CF,LINETHICK2;
CAIH1:=(SMA(HIGH,21,2)*1.05);
CAIH2:=IF(C/REF(C,1)>1.050 AND V/CAPITAL*100<10 AND C<17 AND H/C0, 91, 0);
STICKLINE(CAIH2>90,L*0.99,L*0.96,5,0),COLORYELLOW;
DRAWTEXT(CAIH2>90,LOW*0.98,'→买'),COLORRED;
CHA1:=EMA(EMA(EMA(C,8),13),55);
CHA2:=(REF(H,1)+REF(L,1))/2;
CHA3:=MA(C,20)+2*STD(C,20);
DRAWTEXT(CROSS(CHA2,CHA3),HIGH*1.06,'→卖'),COLORGREEN;
STICKLINE((O>=C),C,O,9,0),COLORFF5B00;
STICKLINE((O>=C),C,O,8,0),COLORFF6C00;
STICKLINE((O>=C),C,O,7,0),COLORFF7B00;
STICKLINE((O>=C),C,O,6,0),COLORFF9C00;
STICKLINE((O>=C),C,O,5,0),COLORFFBE00;
STICKLINE((O>=C),C,O,3.5,0),COLORFFCC00;
STICKLINE((O>=C),C,O,1.5,0),COLORFFFF00;
STICKLINE((C>=O),C,O,9,0),COLOR070084;
STICKLINE((C>=O),C,O,8,0),COLOR0000A3;
STICKLINE((C>=O),C,O,7,0),COLOR0000B7;
STICKLINE((C>=O),C,O,6,0),COLOR0000CD;
STICKLINE((C>=O),C,O,5,0),COLOR0000E9;
STICKLINE((C>=O),C,O,3,0),COLOR0754E9;
STICKLINE((C>=O),C,O,1.5,0),COLOR076EF3;
STICKLINE((C>=O),C,O,1,0),COLOR077BF3;
STICKLINE((C>=O),O,LOW,1,0),COLOR0726CA;
STICKLINE((C>=O),C,HIGH,1,0),COLOR0726CA;
STICKLINE((O>=C),C,LOW,1,0),COLORDE9100;
STICKLINE((O>=C),O,HIGH,1,0),COLORDE9100;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,9,0),COLOR0090FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,8,0),COLOR009FFF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,4,0),COLOR00B5FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,O,2,0),COLOR00E4FF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),O,LOW,0.7,0),COLOR00FFFF;
STICKLINE(((((C/O)>=1.04) AND (C=0)),C,HIGH,0.7,0),COLOR00FFFF;
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
STICKLINE(((((C=CAIH1)) AND (C
第二部分 选股公式