Overlapping Arrow Issue on price bars


Category:
0
0

Hi, I’ve got an issue with arrows on price bars overlapping when plots overlap. is there a way to have the arrows plot on top of each other so that I can see the different plots that are true on that bar…..

below is 2 plots of 8 that I have that I would like to apply this to

plot SMAXLong;
switch (FrameType){
case Intraday:
SMAXLong = _smaxlong;
case Swing:
SMAXLong = _smaxlong and upmom;
}
SMAXLong.SetDefaultColor(Color.PLUM) ;
SMAXLong.SetLineWeight(3);
SMAXLong.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
SMAXLong.SetHiding(hide_trade_arrows);

plot SMAXShort;
switch (FrameType){
case Intraday:
SMAXShort = _smaxshort;
case Swing:
SMAXShort = _smaxshort and dnmom;
}
SMAXShort.SetDefaultColor(Color.PLUM) ;
SMAXShort.SetLineWeight(3);
SMAXShort.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
SMAXShort.SetHiding(hide_trade_arrows);

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on November 1, 2020 3:06 pm
53 views
0
Private answer

Boolean Arrow plot styles cannot be adjusted. They are fixed at the high and low of the candle. There are no user settings to get around this. I suggest you reconfigure your code to use non-boolean arrow plot styles. Those are positioned exactly where you want them. But you will need to included elements in your code to tell it exactly where to position each arrow.

https://toslc.thinkorswim.com/center/reference/thinkScript/Constants/PaintingStrategy/PaintingStrategy-ARROW-UP

 

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 1, 2020 5:56 pm