Averaging Down Orders improvment
Forums › ProRealTime English forum › ProOrder support › Averaging Down Orders improvment
- This topic has 19 replies, 6 voices, and was last updated 6 years ago by Nicolas.
-
-
08/15/2017 at 11:01 AM #43195
The past 6-12 months I´ve broadly tested on the demo account all existing “strategy” on ProRealCode. Most results has been pretty bad. Except one that consistently has showed good results (winning trades 67%)
It have had a bit to large drawdowns but has always recovered and showed good results
Probably the one with most simple tenchology, Averaging Down Orders
The best results have been on USD/JPY 5M, but on most other index and currencies the result has been bad.
I don´t know programming and wonder if someone would be interested in help improve it?
The drawdowns would need to be limited to reasonable levels, and that it shouldn´t place order during certain times and days
You would probably also discover other improvements that the system is missing1234567891011121314151617181920212223242526272829303132//-------------------------------------------------------------------------// Main code : #averaging down orders//-------------------------------------------------------------------------defparam cumulateorders = true// indicatorsEMA3 = exponentialaverage[3]EMA10 = exponentialaverage[10]if barindex>1 thenhaopen=(haopen[1]+haclose[1])/2haclose=(open+close+low+high)/4endif// first order (EMA cross)if not shortonmarket and EMA3 crosses under EMA10 thenSELLSHORT 1 SHARE AT MARKETendif// close position with bullish EMA cross only if we are in profit and we are not already averaging down (1 position only)if countofposition=-1 and haclose<tradeprice and EMA3 crosses over EMA10 thenEXITSHORT AT MARKETendif// averaging downif shortonmarket and haopen>haclose and haopen[1]<haclose[1] and haclose>tradeprice thenSELLSHORT 1 SHARE AT MARKETendif// monitor the average price of whole orders and close them accordinglyif shortonmarket and haclose<positionprice and countofposition<-1 thenEXITSHORT AT MARKETendif08/15/2017 at 11:10 AM #43197maybe try to add a profit target?
if shortonmarket thenset target pprofit xendifI would advise you not to use an average down code. Generally you will (over time) gain more on adding up than down. Remember that the 5M timeframe is pretty short on history so just because it’s working now it might not in the future.08/15/2017 at 12:06 PM #43200It should not work, but still it does.
I have run 75 strategy both long and short, currency, index, commodities but no one has given better results.
Over the past 6 months, USD / JPY has gone from 114.00 February 24 down to 100.00 and up to 118.50 and down again to 109.00 with profit.
It has cleared both up and down ….08/16/2017 at 7:25 AM #43235Just keep in mind that just because it turned around this time it doesn’t need to do the same in the future.
08/16/2017 at 10:32 AM #4324208/16/2017 at 11:55 AM #4325608/16/2017 at 2:16 PM #43279Big drawdowns are a problem, therefore I would like to test it with a intelligent stop loss system, if there is any?
Do you know of any good stop loss system that i could impliment in the code without any major programming skills?08/17/2017 at 9:30 AM #43326There is no way in fixing this with a stop loss without the performance deteriorating. This is the effect of averaging down. You get a super high winning % but one day comes the day your account blows up (or at least takes a hard blow).
08/17/2017 at 10:18 AM #4333308/17/2017 at 10:20 AM #43335@Ludde500 Also just an advise for the future when you look at systems posted on this or other forums – just because a system has got a high winning percentage it doesn’t automatically mean that it’s good system. A high winning percentage is normally the product of risking a lot of money for a very small profit. Sure it feels nice to be right all the time but it’s not always the smartest way to go. Try to read up on how you can make most money based on the amount of money you risk in each trade. Once you know this it’s easier to determinate if a system is good or not.
1 user thanked author for this post.
08/17/2017 at 11:04 AM #4333708/17/2017 at 11:05 AM #4333908/17/2017 at 11:06 AM #4334108/17/2017 at 1:27 PM #4410908/19/2017 at 4:58 PM #44232Hi Viktormork!
Do you have any god links for Reading in this subject?
Regards Henrik
“Try to read up on how you can make most money based on the amount of money you risk in each trade. Once you know this it’s easier to determinate if a system is good or not.”
-
AuthorPosts
Find exclusive trading pro-tools on