BIAS TRADING SYSTEM
Forums › ProRealTime English forum › ProOrder support › BIAS TRADING SYSTEM
- This topic has 8 replies, 4 voices, and was last updated 1 year ago by
nonetheless.
-
-
12/28/2021 at 1:33 AM #183923
Hi, can someone show me a simple code to detect hourly bias? day of week bias? Monthly bias?
Thank you
12/28/2021 at 9:22 AM #183931You mean gaps?
12/28/2021 at 10:20 AM #18394801/04/2022 at 3:47 PM #184498Hi Nicolas,
no I would like to detect for example, if gold go long every friday in the mornig (for example from 08:00 to 13:00).
I would like get a system that allow me to detect, with optimization, the best day or hour to go long or short and the best day or hour to close positions.
01/04/2022 at 3:54 PM #184499Hi Roberto,
no I would like to detect for example, if gold go long every friday in the mornig (for example from 08:00 to 13:00).
I would like get a system that allow me to detect, with optimization, the best day or hour to go long or short and the best day or hour to close positions.
Like This
123456789101112131415161718192021222324252627282930313233343536//////////////////// ******************** Elenco Festività Ricorrenti in cui non si opera ******************** ////////////////////Capodanno = OpenMonth = 1 and OpenDay = 1PrimoMaggio = OpenMonth = 5 and OpenDay = 1VIGILIA = OpenMonth = 12 and OpenDay = 24NATALE = OpenMonth = 12 and OpenDay = 25UltimoAnno = OpenMonth = 12 and OpenDay = 31/// ***Elenco Festività TEDESCHE - Aggiungere alle ricorrenti se si opera sul DAX *** /////UNITATEDESCA = OpenMonth = 10 and OpenDay = 3/// *********************************************************************************///FesteNatalizie = (OpenMonth = 12 and (OpenDay = 23 or OpenDay = 24 or OpenDay = 25 or OpenDay = 26 or OpenDay = 27 or OpenDay = 28 or OpenDay = 29 or OpenDay = 30)) or (OpenMonth = 1 and (OpenDay = 2 or OpenDay = 3 or OpenDay = 4 or OpenDay = 5 or OpenDay = 6))FesteRicorrenti = Capodanno or PrimoMaggio or VIGILIA or NATALE or UltimoAnno or FesteNatalizie////////// ********** Finestra Temporale in cui si opera ********** //////////Venerdi = OpenDayofWeek = 5Finestra= (currenttime >= Start and currenttime <= End) and not (Venerdi and CurrentTime >= 185900)//*************************************************************************//////////// ********** Chiusura il Venerdì ********** //////////VenerdiChiusura = opendayofweek=5 and currenttime > 205900EndTime = currenttime >= End //variabile tra 00:00 e 24:00StartTime = currenttime >= Start //variabile tra 00:00 e 24:00Size = 1/// ******************************************************* /////////////// ********** CONDIZIONI PER ENTRARE CON POSIZIONI LONG ********** //////////IF not FesteRicorrenti and Finestra and CurrentHour >= StartTime THENBUY size contract AT MarketSET STOP pLOSS STOPLongSET TARGET PPROFIT TAKELongENDIF//////////// ********** CONDIZIONI PER USCIRE DA POSIZIONI LONG ********** //////////IF LongOnMarket and VenerdiChiusura or EndTime ThenSell size contract at marketendif01/04/2022 at 4:03 PM #18450101/04/2022 at 4:17 PM #184502I just see but I can’t see the code of this system. Can you help me?
01/04/2022 at 4:59 PM #184506Add the desired variables to the optimizer panel, then select which one is fixed and which one has to be optimized. Is that what you mean?
If you mean machine learning, instead, well… you can find some topics in this forum, but it’s not and easy task and it will take plenty of time! (I have never tried to code it, due to lack of time).
01/04/2022 at 5:10 PM #184507can’t see the code of this system
follow the link then click View All Attachments at the top, you’ll find all the ITFs
-
AuthorPosts
Find exclusive trading pro-tools on