Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Edgar_Herrera, VoroneTZ, Akow), 973 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,718
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,718
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