Is it possible for an indicator to plot some data on SubCharts 1 and some data to be show on Button?
Or is it possible to define where the plot will occure.
Martin
Indicator to plot on the graph and under the graph
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Indicator to plot on the graph and under the graph
Dear Martin,
What do you mean by 'show on Button'?
You can make plots on one subchart and drawing on the main subchart. I.e. the following code will plot a chart on a separate subchart and "Hello" word on the main subchart with the base symbol.
What do you mean by 'show on Button'?
You can make plots on one subchart and drawing on the main subchart. I.e. the following code will plot a chart on a separate subchart and "Hello" word on the main subchart with the base symbol.
Code: Select all
plot1(c);
if LastBarOnChart then
text_new(d,t,c,"hello");