Indicator to plot on the graph and under the graph

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Indicator to plot on the graph and under the graph

Postby arjfca » 01 Dec 2010

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

User avatar
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

Postby Dave Masalov » 02 Dec 2010

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.

Code: Select all

plot1(c);
if LastBarOnChart then
text_new(d,t,c,"hello");


Return to “MultiCharts”