separate indicator

Hello, I would like to be able to separate the data from the putcall indicator to see it more accurate and larger. Can the gauge be stretched?
Greetings
Luis
Captura ```
PlotForeign("RATIO_PUTCALL", " RATIO PUT CALL ROJO ", ParamColor( "Color", colorCycle ), ParamStyle( "Style", styleLine, maskAll ) );

_SECTION_BEGIN("MA10");
P = ParamField("Price field",-1);
Periods = Param("Periods", 10, 2, 300, 1, 10 );
Plot( MA( P, 10 ), "MA(10)", colorBlue, ParamStyle("Style") );

PlotGrid( 1.00, colorGreen, 10, 2, False ); // solid line 2 pixels thick, no label
PlotGrid( 0.75, colorRed, 10, 2, False ); // solid line 2 pixels thick, no label
_SECTION_END();
or paste code here

The code you write must be written in the correct way according to the instructions of the forum administrators.
That is: first click on the point I show with the arrow in the attached photo and in there you write the code.

image

If I understood your question correctly you need only the last line that is activated through the chart --> right click --> parameters.

PlotForeign("RATIO_PUTCALL", " RATIO PUT CALL ROJO ", ParamColor( "Color", colorCycle ), ParamStyle( "Style", styleLine, maskAll ) );

_SECTION_BEGIN("MA10");
P = ParamField("Price field",-1);
Periods = Param("Periods", 10, 2, 300, 1, 10 );
Plot( MA( P, 10 ), "MA(10)", colorBlue, ParamStyle("Style") );

PlotGrid( 1.00, colorGreen, 10, 2, False ); // solid line 2 pixels thick, no label
PlotGrid( 0.75, colorRed, 10, 2, False ); // solid line 2 pixels thick, no label

GraphXY =Param(" Stretch  Y axis",0,-30,40,1);  GraphXSpace =-GraphXY ; // change the Y axis

_SECTION_END();
1 Like

@LOL111, if you want to "stretch" the indicator, you can "grab" the separator line between the chart sections and drag it larger or smaller - just like adjusting the size of the window.

If you are trying to have less blank space in your plotting, you can use the Min and Max range in the plot statement, but be warned, if your data goes beyond the Min or Max, you won't see the values.

1 Like

Thanks for your help.
Very good solution

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.