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
1 registered members (Edgar_Herrera), 1,110 guests, and 2 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
Pattern Analyzer Code #478546
11/04/19 21:35
11/04/19 21:35
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: Pattern Analyzer Code [Re: Clifford_B] #479783
04/26/20 09:44
04/26/20 09:44
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1