Code: Select all
inputs:
OnHigh (0),
OnLow (0),
PrevHigh (0),
PrevLow (0),
PrevCls (0),
TodayOpen (0);
plot1(OnHigh,"ONhi");
plot2(OnLow,"ONlo");
plot3(PrevHigh,"PREVhi");
plot4(PrevLow,"PREVlo");
plot5(PrevCls,"PREVcls");
plot6(TodayOpen,"OP");
Question: Is it possible to extend these lines to the right?
Now a problem on how the scale is set.
For these lines to be perfectly aligned with prices, we need to set them an the Same as Instrument. No problem here.
The problem, and this does not happen with trendlines, is that when we set them to be the same as the instrument MC assumes that the lines are more important than price bars and end up compressing the bars so the lines be all visible on the chart.
Though on price bars this might not be a big issue, on footprint charts we get the worst possible result.
Compare the chart below with the above.
On the above chart I was forced to manually adjust the scale so I can have the footprint bars with a visible size but on the chart below MC compress the bars so the lowest line could be visible, at 1817.25 which was yesterday's pit low. Now imagine if the low was at 1810. In no way we could see any text on the bars. We would be forced to manually adjust the scale which becomes very annoying after a while.
We need an option that while lines be set as the instrument, the chart should be focused on the price bars and not on the lines.
Basically, lines should act the same way as trendlines.