Candle Paint help

MBF

MBF

Active member
2019 Donor
Hi everyone. This is a Trade Station script of a candle paint code. Can anyone help me in transcribing it for me to TOS?

Code:
Input: BarLength(16), ATRLength(9), ATRMultiple(2.5);

Variable: SwingDirection(0);

SwingDirection = LBRSwing(BarLength, ATRLength, ATRMultiple);

If CurrentBar > 1 Then Begin

If SwingDirection = 1 then
Begin
PlotPaintBar(High, Low, Open, Close, "LongShort", Green, Default);
End;

If SwingDirection = -1 Then
Begin
PlotPaintBar (High, Low, Open, Close, "LongShort", Red, Default);
End;
 
markos

markos

Well-known member
VIP
Can anyone help @MBF & port this from Trade Station? She's taking an intensive 5 week class with Linda Raschke.
 
  • Love
Reactions: MBF
L

Len20

Member
I'm not sure if it's the same thing but TOS has a built in indicator called LBR_PaintBars
 

Similar threads

Top