Breakout Brent crudeoil "copy paste/adjusted"
Forums › ProRealTime English forum › ProOrder support › Breakout Brent crudeoil "copy paste/adjusted"
- This topic has 89 replies, 20 voices, and was last updated 6 years ago by GraHal.
-
-
10/20/2017 at 7:06 PM #5008610/24/2017 at 8:12 PM #50413
Oh.. I meant the pic. I posted earlier. But here is the same strategy just reseant update 24. october.2017
11/04/2017 at 12:59 PM #5146211/09/2017 at 12:42 PM #52111Hi Kenneth, ive tried to reach out via facebook but no response 🙂 Letting you know here just in case you havnt seen it 🙂
If you dont want private contact that is of course no problem!
I’ve been looking at the NQ, and it seems that Long trades are much more profitable then the short ones. but both should be run obviously. Have you considered doing say for example 3 contracts on long trades and 1 on short trades? Or do you have any similar money management strategies for it? 🙂
11/09/2017 at 7:14 PM #52167Hello Jebus
If you analyse the price of Brent,there is a strong bullish bias : Brent and WTI are in a head and shoulders pattern and the target is not reached yet.
Once the target will be reached, short trades might be more profitable ( I guess).
For me there is no reason to modify the money management (execpt if you want to stop the algorithm once the target of head and shouders is reached).
Regards
11/09/2017 at 8:04 PM #5217311/19/2017 at 12:47 AM #53217Hi.
I have Asked before to help impliment avrage down too my exsisting brent crude 5min strategy. Dispair made one but he implimented other stuff AS ATR stop and tradingtime .
Can someone help and wright the right code for take position if price retraces 60pip in wrong direction and still keep same stoploss and trailstop settings AS first initial entry.
It would be soo much preciated.
11/19/2017 at 1:28 PM #53234Dear Kenneth
Try this, as what I backtested, it doesn’t seems to be a good idea
average down function123456789101112131415161718192021222324252627282930SET STOP ploss 110//76//116 er også braSET TARGET pPROFIT 100//54//98DEFPARAM CumulateOrders = True//average downaveragedownvalue=-60//valueaveragedown=-averagedownvalue*ordersize*pipsizeif longonmarket thenposperf=close-POSITIONPRICEendifif shortonmarket thenposperf=positionprice-closeendifif not onmarket thenposperf=0endifif longonmarket and posperf<averagedownvalue and COUNTOFLONGSHARES=Ordersize thenbuy ordersize contract at marketset stop ploss (110-averagedownvalue)SET TARGET pPROFIT (100+averagedownvalue)endifif shortonmarket and positionperf<averagedownvalue and COUNTOFshortSHARES=Ordersize thensellshort ordersize contract at marketset stop ploss (110-averagedownvalue)SET TARGET pPROFIT (100+averagedownvalue)endifgraph(posperf)11/19/2017 at 3:45 PM #5323811/19/2017 at 5:09 PM #53240There is a mistake in my previous code
average down123456789101112131415161718192021222324252627282930SET STOP ploss 110//76//116 er også braSET TARGET pPROFIT 100//54//98DEFPARAM CumulateOrders = True//average downaveragedownvalue=-60//valueaveragedown=-averagedownvalue*ordersize*pipsizeif longonmarket thenposperf=close-POSITIONPRICEendifif shortonmarket thenposperf=positionprice-closeendifif not onmarket thenposperf=0endifif longonmarket and posperf<averagedownvalue and COUNTOFLONGSHARES=Ordersize thenbuy ordersize contract at marketset stop ploss (110-averagedownvalue)SET TARGET pPROFIT (100+averagedownvalue)endifif shortonmarket and posperf<averagedownvalue and COUNTOFshortSHARES=Ordersize thensellshort ordersize contract at marketset stop ploss (110-averagedownvalue)SET TARGET pPROFIT (100+averagedownvalue)endifgraph(posperf)11/19/2017 at 6:05 PM #53243Thanx yannick.
I null Try this later tonight.
Henrik, you need to look at the startegy and test IT with Sverige down before er can make any assumtions. I know for a fact this should make the strategy More profitable.
For now I have 90%win rate and alot off these trades do retrace before winning. Offcourse IT might make the risk too high but i null check out tonight.
11/19/2017 at 10:48 PM #53265Sorry too tell but the average down kode does not work properly.
02/24/2018 at 2:27 PM #6380112/16/2018 at 12:31 PM #87215Hi
Help – start time
Example code:
LimitEntryTime = 154500StartTime = 161500When I enter this section of code to my script I get a SYNTAX variable error – I’m new to this, please help?
12/16/2018 at 1:46 PM #87217Try
12LimitEntryTime = Time = 154500StartTime = Time = 161500Ah also I just saw the image of the syntax error … looks like you have not used LimitEntryTime and / or StartTime in your code as a condition to Open / Close a trade etc … this is what the syntax error message is telling you.
-
AuthorPosts