How would one view/create more real estate within the top and bottom area of a chart window?
The stock name and description ribbon at the top of the chart window often obscures candlesticks when values reach the upper limit of the frame (bullish trend). Also, more chart real estate would be useful for drawing and viewing stop limits where resistance levels and converging trends are dynamically off scale and beyond the current "Y" axis boundary by barely a percentage grade.
To view this chart real estate for drawing symbols (head-shoulder or stop limits) requires compression of the timeline, but the chart detail then becomes too small to work with.
I've searched the forum and user manual, but can find no help for adjusting the "Y" axis for a better boundary work area.
Size:
Color:
Size:
Color:
On a deficiency note, when using semi-log scale, the automatic scaling does not provide adequate headroom. It can be solved worked around with SetPaneMinMax() however.
Size:
Color:
The code for SetPaneMinMax would be most functional -- adding 10% of the highest value. But after compile, it throws system warnings and "bar" definition conflicts when used with CMO strategy. I've pasted the strategy below along with the SetPaneMinMax code.
Thanks...
CODE:
Please log in to see this code.
Size:
Color:
Yes it conflicts - this is what one gets for a simple copy & paste act. To fix, you can:
1. either use a different variable name for your "bar" variable
CODE:
Please log in to see this code.
2. or turn the now conflicting 2nd definition into an assignment:
CODE:
Please log in to see this code.
Try to read the warnings that compiler is throwing at you, notice the line number, Google the error message to get more information from MSDN and other sources. Since this is programming 101 (not even C# specific), please consider starting by e.g. resources quoted in this FAQ:
How do I start with C# ?
Size:
Color:
Thanks, Eugene,
Sigh... I'm out of my depth here, and I apologize. Fidelity suggested this program as an excellent tool for testing and charting 'out-of-the-box' strategies. It works more than well enough as is despite the lack of padded real estate at the top and bottom of the chart window.Tech support recommended I post the question here since the tech, himself, wasn't knowledgeable as a programmer/developer either. This squawk is a minor issue I can live with.
Size:
Color:
No problem Rounder1. If you need some help with code, you're at the right place. :)
Size:
Color:
Got your point John. Simply change your code like that:
CODE:
Please log in to see this code.
Size:
Color:
Thanks, Eugene!
Worked perfectly.
If you find yourself pulling eight sustained G's, in full burner, with a bogie at your six lighting you up with a tracking solution for a high PK splash -- I'm your man. I'll get you out-of-there. I've hurled this body at better than twice the speed of sound and tortured it with countless multi-dimensional hard G tactics in a fighter sporting 138 computers with double-triple redundancy. But if I have to write code for any one of those things to save my life... Just line me up with a blindfold, a cigarette, and lets get it over with.
Size:
Color: