同花顺大老虎主图公式
//大老虎主图
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
tyx4:=MA((C+L+O+H)/4,13);
TYX5:=EMA((C+L+O+H)/4,21);
STICKLINE(C<TYX5 AND C>O,H,L,0.1,1),colorred;
STICKLINE(C<TYX5 AND C>O,C,O,9,1),colorred;
STICKLINE(C<TYX5 AND C<O,H,L,0.1,0),COLOR009900;
STICKLINE(C<TYX5 AND C<O,C,O,9,0),COLOR005500;
STICKLINE(C<TYX5 AND C<O,C,O,6,0),COLOR005a00;
STICKLINE(C<TYX5 AND C<O,C,O,5,0),COLOR006600;
STICKLINE(C<TYX5 AND C<O,C,O,4,0),COLOR006b00;
STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR007700;
STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007b00;
STICKLINE(C>TYX5 AND C<O,H,L,0.1,0),COLORFFAA22;
STICKLINE(C>TYX5 AND C<O,C,O,9,0 ),COLORFF7700;
STICKLINE(C>TYX5 AND C<O,C,O,6,0 ),COLORFF8811;
STICKLINE(C>TYX5 AND C<O,C,O,5,0 ),COLORFFAA22;
STICKLINE(C>TYX5 AND C<O,C,O,4,0 ),COLORFFBB33;
STICKLINE(C>TYX5 AND C<O,C,O,3 ,0 ),COLORFFDD44;
STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFFF55;
STICKLINE(C>TYX5 AND C>O,H,L,0.1,0 ),COLOR00CCFF;
STICKLINE(C>TYX5 AND C>O,C,O,9,0 ),COLOR00AAFF;
STICKLINE(C>TYX5 AND C>O,C,O,6,0 ),COLOR00BBFF;
STICKLINE(C>TYX5 AND C>O,C,O,5,0 ),COLOR00CCFF;
STICKLINE(C>TYX5 AND C>O,C,O,4,0 ),COLOR00DDFF;
STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00EEFF;
STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00FFFF;
STICKLINE(C>TYX4 AND C>O,H,L,0.1,0),COLORAA00AA;
STICKLINE(C>TYX4 AND C>O,C,O,9,0 ),COLORFF11FF;
STICKLINE(C>TYX4 AND C>O,C,O,6,0 ),COLORFF33FF;
STICKLINE(C>TYX4 AND C>O,C,O,5,0 ),COLORFF44FF;
STICKLINE(C>TYX4 AND C>O,C,O,4,0 ),COLORFF55FF;
STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF66FF;
STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF77FF;
STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF88FF;
STICKLINE(C>TYX4 AND C<O,H,L,0.1,0),colorwhite;
STICKLINE(C>TYX4 AND C<O,C,O,9,0),COLOR555555;
STICKLINE(C>TYX4 AND C<O,C,O,6,0),COLOR777777;
STICKLINE(C>TYX4 AND C<O,C,O,5,0),COLOR999999;
STICKLINE(C>TYX4 AND C<O,C,O,4,0),COLORAAAAAA;
STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLORBBBBBB;
STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLORcccccc;
STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLORdddddd;
STICKLINE(C>TYX4 AND C<O,C,O,0.1,0),COLOReeeeee;
STICKLINE(C>TYX3 AND C>O,H,L,0.5,0),COLOR0000dd;
STICKLINE(C>TYX3 AND C>O,C,O,8,0),COLOR000099;
STICKLINE(C>TYX3 AND C>O,C,O,9,0),COLOR0000aa;
STICKLINE(C>TYX3 AND C>O,C,O,5,0),COLOR0000bb;
STICKLINE(C>TYX3 AND C>O,C,O,4,0),COLOR0000cc;
STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR0000dd;
STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000ee;
STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000ff;
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,9,0) ,colorred;
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,9,0) ,COLOR00FF00;
STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,2,0),COLOR00CCFF;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线: (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,colorred;
马线:MA(牛线,6),colorgreen;
水平面:MA(C,60),POINTDOT,LINETHICK4,coloryellow;