VARA:(2*C+H+L)/4,LINETHICK0; VAR2:=BARSLAST( VARA=LLV(VARA,55))+1; XXX2:SMA(VARA,VAR2,1),COLORBLUE,LINETHICK0; VAR3:=BARSLAST( VARA=HHV(VARA,55))+1; XXX3:SMA(VARA,VAR3,1),COLORRED,LINETHICK0; VAR4:=BARSLAST( VARA=LLV(VARA,10))+1; XXX4:SMA(VARA,VAR4,1),COLORBLUE,LINETHICK0; VAR5:=BARSLAST( VARA=HHV(VARA,10))+1; XXX5:SMA(VARA,VAR5,1),COLORRED,LINETHICK0; XXX2A:EMA(VARA,VAR2),COLORBLUE,LINETHICK0; XXX3A:EMA(VARA,VAR3),COLORRED,LINETHICK0; XXX4A:EMA(VARA,VAR4),COLORBLUE,LINETHICK0; XXX5A:EMA(VARA,VAR5),COLORRED,LINETHICK0;
PARTLINE(REF(XXX3,1),CPARTLINE(REF(XXX2,1),C>REF(XXX2,1)),COLORBLUE,LINETHICK2;
PARTLINE(REF(XXX5,1),CPARTLINE(REF(XXX4,1),C>REF(XXX4,1)),COLORBLUE,LINETHICK1; PARTLINE( REF(XXX3A,1),CPARTLINE(REF(XXX2A,1),C>REF(XXX2A,1)),COLORBLUE,LINETHICK2;
PARTLINE( REF(XXX5A,1),CPARTLINE(REF(XXX4A,1),C>REF(XXX4A,1)),COLORBLUE,LINETHICK1;
|