Multiple Plots via calls: Trying to plot lines

Posted By: pounceyzorro

Multiple Plots via calls: Trying to plot lines - 09/28/21 10:30

Hi,
New to Zorro here but NOT new to C( about 2.5M lines over 34 years, etc); was trying to plot separate plots for research, in addition to a
default main plot and am wanting "threshold lines" or similar to be plotted within the separate charts. What I found was that the
threshold values were NOT being matched to the individual new chart(s), but defaulting to the first chart just below the main chart...This is probably still "newbie" stuff, but I found that the .0050 and -.0050 thresholds below were NOT being placed onthe LowpassDF* plot, but went
to the ConnorsRSI plot(the first after the main FX data plot on top):

vars Signal = series(ConnorsRSI(Price,3,8,5));
plot("ConnorsRSI",Signal,NEW,RED);
plot("Threshold1",70,LINE,BLACK);
plot("Threshold2",20,LINE,BLACK);
plot("LowpassDF1_3_dg",Lowpassdf_1_3_ug,NEW,RED);
plot("Threshold1",0.0050,LINE,BLACK);
plot("Threshold2",-0.0050,LINE,BLACK);
plot("ATR",ATR(8),NEW,RED);

If I have to assist in reprogramming this to permit this(which I am hoping not), then please refer me to the correct Github repository so that
I can review the coding for the plot() call, etc.; otherwise, a newbie correct to my coding will be appreciated..

Thanks,
Vode Norwood
Posted By: AndrewAMD

Re: Multiple Plots via calls: Trying to plot lines - 09/28/21 10:48

Your plot Names must be unique. I see "Threshold1" twice and "Threshold2" twice.
Posted By: pounceyzorro

Re: Multiple Plots via calls: Trying to plot lines - 09/29/21 11:17

AndrewAMD: Thanks for the tip; again, I'm new to Zorro, so this was helpful...
© 2024 lite-C Forums