Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (MadJack, AndrewAMD, Quad), 540 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multiple Plots via calls: Trying to plot lines #484268
09/28/21 10:30
09/28/21 10:30
Joined: Sep 2021
Posts: 8
EL PASO
P
pounceyzorro Offline OP
Newbie
pounceyzorro  Offline OP
Newbie
P

Joined: Sep 2021
Posts: 8
EL PASO
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

Re: Multiple Plots via calls: Trying to plot lines [Re: pounceyzorro] #484269
09/28/21 10:48
09/28/21 10:48
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Your plot Names must be unique. I see "Threshold1" twice and "Threshold2" twice.

Re: Multiple Plots via calls: Trying to plot lines [Re: AndrewAMD] #484277
09/29/21 11:17
09/29/21 11:17
Joined: Sep 2021
Posts: 8
EL PASO
P
pounceyzorro Offline OP
Newbie
pounceyzorro  Offline OP
Newbie
P

Joined: Sep 2021
Posts: 8
EL PASO
AndrewAMD: Thanks for the tip; again, I'm new to Zorro, so this was helpful...


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1