Gamestudio Links
Zorro Links
Newest Posts
Trade Question
by trader310. 06/03/20 16:01
MT4/5 - wrong M1 time
by Grat. 06/03/20 08:20
TD Ameritrade Broker Plugin
by cwford. 06/03/20 06:58
Oanda instruments
by DdlV. 06/03/20 06:00
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
13 registered members (hast29, AndrewAMD, MatPed, 3run, aariassanta, jenGs, Grat, ESR, 2 invisible), 465 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Frank_Shieh, PBSeven, Hardi01, Giuseppe, AdamWu
18461 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: 135
D
danatrader Offline
Member
danatrader  Offline
Member
D

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1