Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.30
by jcl. 08/14/20 12:48
Reducing Function Times
by txesmi. 08/14/20 12:13
2 questions
by danatrader. 08/14/20 10:05
NeoDumont's open world treadmill project
by NeoDumont. 08/13/20 23:33
Corvitextu texture browser released...
by NeoDumont. 08/13/20 23:19
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/13/20 12:00
AUM Magazine
Latest Screens
Untitled Walking Simulator
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
Who's Online Now
9 registered members (txesmi, kvm, 3run, alibaba, danatrader, Superku, AndrewAMD, Dooley, 1 invisible), 482 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Janusz, Sovattha, DonSergio, bigimpactsound, tzw101
18492 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Fuzzy Range #478544
11/04/19 16:43
11/04/19 16:43
Joined: Oct 2019
Posts: 10
Clifford_B Offline OP
Newbie
Clifford_B  Offline OP
Newbie

Joined: Oct 2019
Posts: 10
How would you add the FuzzyRange function to this script ?

// Machine learning ////////////////////////////
#include <profile.c>

function run()
{
StartDate = 2010;
EndDate = 2018;
BarPeriod = 1440; // 1 Day
BarZone = WET; // Western European midnight
BarMode = BR_LEISURE; // allows weekend bars, but don't trade on them
NumWFOCycles = 5;
asset("EUR/USD");

set(RULES+TESTNOW);

if(Train) Hedge = 2; // for training, allow long + short
LifeTime = 3;
MaxLong = MaxShort = -1;

if(adviseLong(PATTERN+2+RETURNS,0,
priceHigh(2),priceLow(2),priceClose(2),
priceHigh(1),priceLow(1),priceClose(1),
priceHigh(1),priceLow(1),priceClose(1),
priceHigh(0),priceLow(0),priceClose(0)) > 50)
enterLong();

if(adviseShort() > 50)
enterShort();

PlotWidth = 600;
PlotHeight1 = 300;
//plotTradeProfile(40);
//plotWFOCycle(Equity,0);
//plotWFOProfit();
}

Re: Fuzzy Range [Re: Clifford_B] #479800
04/26/20 22:54
04/26/20 22:54
Joined: Mar 2019
Posts: 220
D
danatrader Online
Member
danatrader  Online
Member
D

Joined: Mar 2019
Posts: 220
if(adviseLong(PATTERN+FUZZY+2+RETURNS,0,

Re: Fuzzy Range [Re: Clifford_B] #480705
07/01/20 13:19
07/01/20 13:19
Joined: Sep 2017
Posts: 19
T
TipmyPip Offline
Newbie
TipmyPip  Offline
Newbie
T

Joined: Sep 2017
Posts: 19
What do I do if I get too many trades error, how and why does this error exist? and Why Zorro Trader has a limit of trades?

Re: Fuzzy Range [Re: Clifford_B] #480706
07/01/20 14:04
07/01/20 14:04
Joined: Feb 2017
Posts: 1,071
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,071
Chicago
The manual is your friend! laugh

https://zorro-project.com/manual/en/errors.htm
Quote
Error 049: Too many trades
The script entered more than one trade per bar and asset, which is normally a sign of a script bug - therefore the error message. If you really need a huge number of trades, for instance for unlimited grid trading or for training several advise functions at the same time, set the TradesPerBar variable to the required number of trades per bar and asset.

Re: Fuzzy Range [Re: Clifford_B] #480708
07/01/20 14:52
07/01/20 14:52
Joined: Mar 2019
Posts: 220
D
danatrader Online
Member
danatrader  Online
Member
D

Joined: Mar 2019
Posts: 220
Andrew is a friend too blush

Re: Fuzzy Range [Re: Clifford_B] #480710
07/01/20 16:57
07/01/20 16:57
Joined: Feb 2017
Posts: 1,071
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,071
Chicago
Aw, shucks!


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