Discussion re Pure Renko strategy
Forums › ProRealTime English forum › ProOrder support › Discussion re Pure Renko strategy
- This topic has 345 replies, 24 voices, and was last updated 4 years ago by bertrandpinoy.
Tagged: renko
-
-
03/19/2020 at 11:28 PM #122648
fx pair went crazy high on spreads
At what time and to what value?
Please can you optimise the Brick Size and trailingstoptype over 200k and post the values on here.
03/20/2020 at 10:46 AM #122678Around 10:45 PM Italian Time, EURUSD went up to 5/6 spread pts.
And as i said, also others fx pairs went up, but i don’t remember the exact spread.
In the attachments the optimization you asked for. A1 is the trailingstoptype and A1 is the boxsize.
1 user thanked author for this post.
03/20/2020 at 11:55 AM #122694Better still if you comment out the Flat before / after … images 3 and 4.
This was a flawed judgement on my part, apologies!
Yes the results were better but probably only because I had a fixed spread = 1 in the backtester!
As pointed out by Francesco, the spread on eurusd went to > 5 at 9:45 ish (UK Time).
I hadn’t researched overnight spreads as I’ve not used eurusd for quite a while … my enthusiasm blinded me! 🙂
03/21/2020 at 11:43 AM #12280903/21/2020 at 2:16 PM #12282703/21/2020 at 2:28 PM #122829I agree Paul, until spread goes back to 2.4 / 1.6 on the DJI the Renko is a dead duck unless we can get average gain per trade well above current spread = 11.6 / 6.6.
I note though that spreads overall are heading back down … maybe next week we will see less madness and more like normal trading?
03/21/2020 at 5:13 PM #12285303/21/2020 at 5:32 PM #122858I just did a 200k backtest
Yes it is very useful you doing 200k backtests for us all … thank you.
Yeah I turned my 1 sec DJI off until better times.
But with different settings or a tweaked strategy I think the 1 sec could live again … even on DJI?
I think Paul may be working on a new version?
03/21/2020 at 5:39 PM #122859I think it’s not easy to work on these 1 sec strategies, because the backtest frame to work on is very short.
For example: Paul’s last version in 200k last week made 4 consecutive profts days, while this week 4 consecutive losses.
Putting myself in the shoes of an expert coder like paul, I wouldn’t know how to optimize the strategy not having a longer frame to observe. How can i know that my version in super profitable last 3 days but maybe 6 days ago was very bad?
@nonetheless said to me that “Renko doesn’t have a time component to it, only price and direction”, but the problem is not that to better optimize the value of a strategy you must always know and work on more data as possible?03/21/2020 at 6:40 PM #122864this week 4 consecutive losses
to better optimize the value of a strategy you must always know and work on more data as possible?Yeah well my intention was / is to optimise every day! 🙂
I guess it is a different way of thinking?
Seconds in a day = 86,400 bars … so this is 86,400 green and red candles and mini up and down trends and flat periods etc?
Scale that up to hourly bars and 86,400 bars = 14 years worth of trading days?? 🙂
03/21/2020 at 9:07 PM #12287103/22/2020 at 12:50 AM #122885a try to calculate the spread (& custom slippage) based on the open of the market order bar timebased.
1234567891011121314151617181920212223242526272829303132333435363738394041424344// spread wallstreetif time > 090000 and time <= 153000 thenspreaddji=2.4elsif time > 153000 and time <= 220000 thenspreaddji=1.6elsif time > 221500 and time <= 223000 thenspreaddji=9.8elsif time > 230000 and time <= 235959 thenspreaddji=9.8elsif time = 000000 thenspreaddji=9.8elsespreaddji=3.8endifspreaddji=spreaddji/2// orderhandlingif orderhandling thenonce orderprice=close // prevent graph orderprice at 0 at start chartoffsetvalue=((close/10000)*orderoffset)*pointsize // adjustment spread & slippageif longonmarket and not longonmarket[1] thenorderprice=open+offsetvalue+spreaddjielsif shortonmarket and not shortonmarket[1] thenorderprice=open-offsetvalue-spreaddjiendifif longonmarket thenpp=((close/orderprice)-1)*100elsif shortonmarket thenpp=((orderprice/close)-1)*100endifelseonce orderprice=close // prevent graph orderprice at 0 at start chartorderprice=tradeprice(1)if longonmarket thenpp=((close/orderprice)-1)*100elsif shortonmarket thenpp=((orderprice/close)-1)*100endifendif03/22/2020 at 2:36 AM #122886and again
12once orderhandling = 1 // [0] default; [1] based on open v/d market orderonce orderoffset = 1 // % average slippage & spread points if above=[1]12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849// spread wallstreetif time > 090000 and time <= 153000 thenspreaddji=2.4elsif time > 153000 and time <= 220000 thenspreaddji=1.6elsif time > 221500 and time <= 223000 thenspreaddji=9.8elsif time > 230000 and time <= 235959 thenspreaddji=9.8elsif time = 000000 thenspreaddji=9.8elsespreaddji=3.8endifspreaddji=spreaddji/2// orderhandlingif orderhandling thenonce orderprice=close // prevent graph orderprice at 0 at start chartoffsetvalue=((close/10000)*orderoffset)*pointsize // adjustment spread & slippageif longonmarket and not longonmarket[1] thenorderprice=open+offsetvalue+spreaddjielsif shortonmarket and not shortonmarket[1] thenorderprice=open-offsetvalue-spreaddjiendifif longonmarket thenpp=((close/orderprice)-1)*100elsif shortonmarket thenpp=((orderprice/close)-1)*100elsif not onmarket thenpp=0endifelseonce orderprice=close // prevent graph orderprice at 0 at start chartorderprice=tradeprice(1)if longonmarket thenpp=((close/orderprice)-1)*100elsif shortonmarket thenpp=((orderprice/close)-1)*100elsif not onmarket thenpp=0endifendifpp=pp1234567891011121314151617181920212223if onmarket thenonce sl=0.5once pt=undefinedif longonmarket thenslvalue=orderprice-(sl*(orderprice/100))sell at slvalue stopendifif shortonmarket thenslvalue=orderprice+(sl*(orderprice/100))exitshort at slvalue stopendifif longonmarket thenptvalue=orderprice+(pt*(orderprice/100))sell at ptvalue limitendifif shortonmarket thenptvalue=orderprice-(pt*(orderprice/100))exitshort at ptvalue limitendifendif1 user thanked author for this post.
03/23/2020 at 11:06 AM #12298703/23/2020 at 1:59 PM #122996yes i’am testing 10 sec with above & trendtrading.
a pic of made yesterday and first one made just now.
the spreadfix can’t be put on forex, even after changing spread values, just like the trailingstop isn’t suitable. It needs some changes.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on