That is my first threadforexforum.co.zaso here are a couple things that I wished to share. -- Feel free to jump forward.
I began investing in late 2012 and joinedforexforum.co.zain ancient 2013. I have a love of programming and have because coded and backtested trading thoughts equally and of my own creation. The EAs that I have coded Out of all I have learned that most do well until they do not, meaning that they were great for the market conditions at the time but once these conditions altered they blew up. Many others seemed fantastic on paper, but when confronted with real spreads and slippage lost all chance of profitability.
I am in no way a pro trader, nor will I claim that I am a profitable trader, but now I don't blow up accounts and I learn more about my plogy and trading all of the time. Here a few things I have heard in my journey.On paper my risk tolerance is a lot higher than it is in trading. Though, in the long term, they might have turned out to be profitable, I have stopped since I could not tolerate the losses. For me, demo trading does not compare to live trading. I am more affected by a loss in a account than I am by a 10% loss in a demo account. I use a demo account to check the logic of my systems and use a little live account for real forward testing. It is significantly more difficult to make money fast timeframes, on lower as appealing as they are. I consider the 1 hour a timeframe that is higher. Since I have not entirely lost my plogical need to get at least a couple trades open per week, most systems I test are for the 1 hour. I will never be a guide trader. I do not have the discipline or the patience to sit for hours at a time on my hands. Within the first hour, I'll begin placing trades more out of boredom than anything else. I am addicted to checking my trades. I find myself constantly checking my systems transactions that are opened by my own systems. If the logic of the system is sound, do not override it by adjusting or closing transactions. I have many instances closed out automated transactions and although it seemed like the right thing to do, the majority of the time if I would have just left it alone it might have been out for the greater. Easier systems operate. I have had the best results using very few indiors. A majority of the systems that I have been testing lately have entailed Fractals, Ranges and Trendlines. Take some opportunity and I need to split my dependence on MT4. I currently code and test all of my systems on MT4 although I send all of my transactions, through files, to a Python script that places them on Oanda's FXTrade platform. This permits me to trade any dimension little. Removing the patchwork method I have set up and transferring it will be ideal. Besides, you don't know when Metaquotes will give on MT4 altogether.
Why Ondarox?
In real life I am a bartender, therefore On the Rocks just made sense. Besides, I did not wish to invest too much time coming up with a few chy name that no one actually cares about.
Concerning the EA
The EA that I am sharing is a range breakout program with the objective of ching a fad without predicting when it will stop while reducing losses. Trades are opened based on the greatest high or lowest low within a given variety of bars. Stops and targets are concealed from the broker and handled by user defined options. I have had the best results, so far. In my testing the system has an average win rate (depending on settings) of between 30-40 percent, but the losses are much smaller than the wins.
The most important setting within the EA is that the High / Low Extreme Period. This sets the range of bars that the EA uses to open transactions. One setting won't work for many currency pairs. The EURUSD responds nicely to a 25 period while I have found that that the GBPUSD responds better to a 36 period. Also keep in mind that a 25 interval on the 1 hour chart is the same as a 100 interval on the chart because there are 4 pubs each hour.
I am not a fan of traditional Martingale systems, but have found that in progr, like this one, with very few successive losses, a slight increase in trade size on each loss up to a maximum amount of risk can oftentimes lower overall drawdowns and sometimes increase profits.
I have been live testing this program on a little account since Dec 15, 2017 and after 22 transactions I am currently down 11%. About 7% of this is a result of a coding errors that I found, so I must be down about 4%. Compared to my backtesting the system is performing as it should so I am not concerned. I have been running it using 3 percent intial risk with a 0.7% risk increase on each loss up to a max of 5% risk. The odds of incurring a 5% loss is uncommon as this program uses a trailing stop. The maximum loss I have encountered is 4.38 percent while the average loss was 2.25%. The maximum win has thus far been 17.7% with the average at 8.48%.
Backtests
Below are a few backtests I have performed with my collection document for your EURUSD. I am using TickDataSuite using Dukascopy data with real spreads and arbitrary slippage at 99.9% modelling quality. These tests were performed from 1/1/2010 to 2/1/2018.
Greater Risk Tests
Lower Risk Tests
Please do not trust my results!
Do your own testing and discuss any fantastic set files you produce!
Just because something looks great in backtests never presume that it will continue to be profitable in the future!
Description of EA SettingsTrade Once Per Direction?
If set to true, the EA is only going to open one transaction in the particular direction. If the trade was a brief the trade is going to be a long. High / Low Extreme Stage
Trades are discharged when a bar is the greatest high or lowest low in a specific period. This is where you said interval. Use NRTR ATR Trailing Stop?
Use the NRTR_ATR_STOP indior as a trailing stop. Use BB Stops Trailing Quit?
Use the BB stops (new arrangement) 1.3 indior as a trailing stop. Use Parabolic Trailing Quit?
Use the Parabolic_Mod indior as a trailing stop. Use Three Bar Trailing Quit?
Use the lowest low or maximum high of the 3 previous pubs as a trailing stop. Exit on Hard Cease?
Exit trades onto a set prevent defined in pips. Exit on Hard Target?
Exit transactions on a set target defined in pips. Exit on Top / Low Extremes
Exit trades at the greatest high or lowest low in a specific period. Use Avg Hist Range for Target? Stop?
Exit trades on a proportion of the range of given variety of previous maximum commerce ranges. Max Total Risk w/Martingale
The maximum permitted total risk when using martingale Use Martingale on Losses?
Fix the risk on the next trade after a loss Boost Risk Size?
If set to true the next trade after a loss will have its risk increased by a given amount. The risk is going to be decreased when set to false. Use Martingale on Wins?
If set to true the next trade after a triumph will have its risk increased by a given amount. Though I use the NRTR ATR indior in my live trading I have included a couple of other options so below are the indiors that these would use. The Parabolic indior below is the one except that I modified it to reveal if it's the dot is an upper or lower one, included with MT4.
Closing Thoughts
I have spent a lot of time on this and at present am not keen to share my source code. In addition, I have an expiration group to prevent others from promoting my job. Before it expires, I will update the expiration well. I don't have any intention of promoting this and there aren't any restrictions on if it may be used on demo or live accounts.
If you don't agree to any of this please do not use it and simply move on.
https://www.forexforum.co.za/attachm...6935010770.zip
https://www.forexforum.co.za/attachm...1894499922.ex4
https://www.forexforum.co.za/attachm...1300181477.zip
https://www.forexforum.co.za/attachm...1728786930.zip
https://www.forexforum.co.za/attachm...4572692439.zip
https://www.forexforum.co.za/attachm...1416023962.zip