Hi All,
Please find my latest cBot which is much more stable that the above one .
Results with 1min with tick data from 19 Jan 2014 - 23 Feb 2017 using 30$ per million commissions.
USDCAD
EURUSD
AUDUSD
Parameters
Let me explain the parameters
1) TimeFrame: 1 Min (suggested). It is based on multi TimeFrame but still use the baseTime frame during signal generation.
2) Volume: 1K (suggested). It is a martingale strategy and it increases lot based on Fibonacci sequence so better to start with 1K for every 5K account balance.
3) minSpread(pips): 2 pips (suggested). It basically won't open trades unless spread is less than this spread Filter.
4) RiskLevel : 10 (suggested). Max number steps of martingale.
5) Band Deviation: 2 (suggested).
6) PnL Threshold: 500 (suggested). Martingale sequence to be closed after making this threshold unless closed through TP process.
7) Inverse: 0 (suggested). 0 means false and basically means that we sell when overbought and start martingale sequence. If set to '1" (true) then it will buy when overbought. You can also try with '1' as it is not necessarily not profitable.
8) Grid Size(pips): 10 (suggested). Min grid space in pips for martingale to start.
9) Grid Gradient: 0 (suggested). Gradient of exponential increasing grid function.
10) TakeProfit(pips) : 3 (suggested). Starting TakeProfit in pips with 'TP Scale' gradient applied for subsequent martingale steps net TakeProfit.
11) TP Scale: -0.15 (suggested). Gradient of exponential decay function using 'TakeProfit' parameter as starting sequence. If it is +ive then TakeProfit will reduce with number of martingale steps , otherwise will increase.
Algorithm looks to break even after RiskLevel -1 martingale steps irrespective of TakeProfit or TP Scale parameters.
Play around with parameters and let me know your feedback. I won't be able to implement all the requests which might come through as i have tested myself TrailingStops, Fixed Stops etc but i will try my best (but i don't guarantee anything).
PLEASE USE TICK DATA ONLY . I HAVE USED ICMarkets tick data with 30$ / million commissions.
Please note that it is a martingale strategy so it is RISKY.
Please use it with your own understanding and use it on 'Live' with your own risk. Backtest it/Forward test it and provide your feedback !
V0 : cBot download V0 ( no source code )
https://www.dropbox.com/s/otqivbvubk...rial.algo?dl=0
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
V2 :-> Very stable version of martingale with 2 important features which i personally wanted
1) All trades will be open from Monday and will be closed by Friday, so no weekend risk.
2) PnL threshold acts as weekly take profit. No more trades for that week if PnL Threshold has hit.
This ensures that i can just run it on several instruments every Sunday night and turn it off on next Saturday morning. Peace of mind for myself !!
New parameters added
Enable gridSizeLast4Steps : If enabled you can specify exact pips for last 4 steps of martingale grid.
GridSize for Last4Steps : Size of grid spacing for last 4 steps of martingale sequence.
V2: cBot download V2 (updated) ( no source code )
https://www.dropbox.com/s/ivoi416seu...rial.algo?dl=0 ( updated )
( You can look at my main thread here -> http://ctdn.com/algos/cbots/show/1026 )
I must add the disclaimer :
Past performance results are shown for illustration and example only, are hypothetical and as such have many inherent limitations. Past performance of indicators or methodology or algorithmic trading are not necessarily indicative of future results. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. Buy using trading strategies or bots or indicator provided through me, you further agree not to hold me or any of my affiliates, liable for products or services that are bought based on any recommendations made , or for any partnerships or other dealings that may originate on the forum, private messaging, or any other source. Futures , Forex , Stocks, Indices trading and algorithmic trading involve a substantial risk of loss and is not appropriate for everyone. Only risk the capital you can afford to loose and be aware that leveraged trading could involve loss excess than trading capital. You agree to indemnify and hold harmless myself and my affiliates, from and against any and all claims.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please find my latest cBot which is much more stable that the above one .
Results with 1min with tick data from 19 Jan 2014 - 23 Feb 2017 using 30$ per million commissions.
USDCAD
EURUSD
AUDUSD
Parameters
Attached Image
Let me explain the parameters
1) TimeFrame: 1 Min (suggested). It is based on multi TimeFrame but still use the baseTime frame during signal generation.
2) Volume: 1K (suggested). It is a martingale strategy and it increases lot based on Fibonacci sequence so better to start with 1K for every 5K account balance.
3) minSpread(pips): 2 pips (suggested). It basically won't open trades unless spread is less than this spread Filter.
4) RiskLevel : 10 (suggested). Max number steps of martingale.
5) Band Deviation: 2 (suggested).
6) PnL Threshold: 500 (suggested). Martingale sequence to be closed after making this threshold unless closed through TP process.
7) Inverse: 0 (suggested). 0 means false and basically means that we sell when overbought and start martingale sequence. If set to '1" (true) then it will buy when overbought. You can also try with '1' as it is not necessarily not profitable.
8) Grid Size(pips): 10 (suggested). Min grid space in pips for martingale to start.
9) Grid Gradient: 0 (suggested). Gradient of exponential increasing grid function.
10) TakeProfit(pips) : 3 (suggested). Starting TakeProfit in pips with 'TP Scale' gradient applied for subsequent martingale steps net TakeProfit.
11) TP Scale: -0.15 (suggested). Gradient of exponential decay function using 'TakeProfit' parameter as starting sequence. If it is +ive then TakeProfit will reduce with number of martingale steps , otherwise will increase.
Algorithm looks to break even after RiskLevel -1 martingale steps irrespective of TakeProfit or TP Scale parameters.
Play around with parameters and let me know your feedback. I won't be able to implement all the requests which might come through as i have tested myself TrailingStops, Fixed Stops etc but i will try my best (but i don't guarantee anything).
PLEASE USE TICK DATA ONLY . I HAVE USED ICMarkets tick data with 30$ / million commissions.
Please note that it is a martingale strategy so it is RISKY.
Please use it with your own understanding and use it on 'Live' with your own risk. Backtest it/Forward test it and provide your feedback !
V0 : cBot download V0 ( no source code )
https://www.dropbox.com/s/otqivbvubk...rial.algo?dl=0
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
V2 :-> Very stable version of martingale with 2 important features which i personally wanted
1) All trades will be open from Monday and will be closed by Friday, so no weekend risk.
2) PnL threshold acts as weekly take profit. No more trades for that week if PnL Threshold has hit.
This ensures that i can just run it on several instruments every Sunday night and turn it off on next Saturday morning. Peace of mind for myself !!
New parameters added
Attached Image
Enable gridSizeLast4Steps : If enabled you can specify exact pips for last 4 steps of martingale grid.
GridSize for Last4Steps : Size of grid spacing for last 4 steps of martingale sequence.
V2: cBot download V2 (updated) ( no source code )
https://www.dropbox.com/s/ivoi416seu...rial.algo?dl=0 ( updated )
( You can look at my main thread here -> http://ctdn.com/algos/cbots/show/1026 )
I must add the disclaimer :
Past performance results are shown for illustration and example only, are hypothetical and as such have many inherent limitations. Past performance of indicators or methodology or algorithmic trading are not necessarily indicative of future results. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. Buy using trading strategies or bots or indicator provided through me, you further agree not to hold me or any of my affiliates, liable for products or services that are bought based on any recommendations made , or for any partnerships or other dealings that may originate on the forum, private messaging, or any other source. Futures , Forex , Stocks, Indices trading and algorithmic trading involve a substantial risk of loss and is not appropriate for everyone. Only risk the capital you can afford to loose and be aware that leveraged trading could involve loss excess than trading capital. You agree to indemnify and hold harmless myself and my affiliates, from and against any and all claims.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------