Extra blank chart space at right side
Author: tastley
Creation Date: 12/2/2009 1:01 PM
profile picture

tastley

#1
How can i create extra blank chart space at right side? Perhaps one or two bars worth.
profile picture

Eugene

#2
CODE:
Please log in to see this code.
profile picture

TrendCatcher

#3
If that is true, I would like to see some blank space on the top too. Some scripts are for some reason after translation, too crowded on the top of the chart. I tried using the add on indicators, but still not the same.
profile picture

tastley

#4
Thanks, Eugene. Works great!
profile picture

Eugene

#5
You're welcome.

QUOTE:
Some scripts are for some reason after translation, too crowded on the top of the chart.

That's a different question. You can simply and easily reduce the height of each pane in your Strategy (or even manually).
profile picture

TrendCatcher

#6
thanks. where do we add the ' PadBars() ' in the script?
profile picture

Eugene

#7
Anywhere inside the Execute method body and out of the main (trading) loop. Don't forget to insert a number of bars to pad in between the parens.
profile picture

jarebear00

#8
everytime I add padbars I keep getting error messages, will it be possible if you can post 'padbar' example?

this is similar to what I've been doing


CODE:
Please log in to see this code.
profile picture

Eugene

#9
1. C# is a context-sensitive language. What you've been doing is NOT equal to post #2.
2. The example is at your fingertips. See QuickRef in the application (F11 key).
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).