I'm excited to present the very first version of Chameleon. At this point it's a very simple Martingale that uses a DLL for all logic decisions. This has been developed with speed in mind. When you backtest, you will notice a huge boost in speed over MBC. The inputs are very simplistic at this point. VisualMode - decides whether or not to show the display. If you want speed during backtesting, turn this to false. Magic, MaxLevel, and BaseBalance are self explanatory to everyone here. The Execution Point Progression, Volume Progression, and Target Progression all have 2 inputs each, A and B. The formula A*e^(B*Level) is employed. For example, if 19 is specified for the A on the Target, and B is specified as 0.05, then the Target for the first level will be Target = 19 * e^(0.05 * 1) = 20 The target for the fifth level would be Target = 19*e^(0.05*5) = 24 At this point, I need everyone to start using this EA on Demo Accounts to try and break it. I also need someone to test restarts and make sure that trades are not lost. Also, for backtesting, stops are kept track of internally. For real and demo accounts, stops are actually set. Eventually, I will create documentation. Enjoy, - Rick
![]() |
Chameleon.zip |
Hey thank you so much for the long hours of effort that you have put into this Rick. Really looking forward to getting stuck into testing and helping develop chameleon into the best marty ea out there. Well done |
--
Visit this group at http://groups.google.com/group/margrids-battle-chest..
Statically linked... this eliminates the dependency on the GCC dll. - Rick
![]() |
Chameleon.zip |
--
--
On Mon, Oct 28, 2013 at 3:07 PM, BearBull <bearb...@gmail.com> wrote:
:))
On Mon, Oct 28, 2013 at 2:56 PM, Rick Drake <drak...@gmail.com> wrote:
Yeah I plan to add comments.- Rick
On Sun, Oct 27, 2013 at 8:45 PM, BearBull <bearb...@gmail.com> wrote:
Just altered the BaseBalance.Nice to see a new trade to adjust the basket to the altered BaseBalance.Also noticed the display did not show a new level, so this is working like before.Do you plan to add comments?They were good as then it was possible to see New Level trades as different from Balance Adjustment trades at the same level as the latest level.
On Mon, Oct 28, 2013 at 1:58 PM, BearBull <bearb...@gmail.com> wrote:
Already did that.It works OK.Picked up all the existing baskets.Just need to handle if the user stops the EA, manually closes some trades / baskets and then restarts the EA.It will hang.
On Mon, Oct 28, 2013 at 1:53 PM, Rick Drake <drak...@gmail.com> wrote:
Glad to hear that. One nice thing, is that since all the logic is moved outside Metatrader and into the DLL... you can now sort the history in metatrader to whatever ordering you please, and don't have to worry about hedge detection issues. That was something I absolutely hated about Metatrader....
Oh... with all that action going on... could you try closing and restarting Metatrader and seeing if it resumes trading where it should?- Rick
On Sun, Oct 27, 2013 at 8:19 PM, BearBull <bearb...@gmail.com> wrote:
So far it is holding together.Ep and TP is what it should be and basket formation is as expected.
On Mon, Oct 28, 2013 at 1:45 PM, BearBull <bearb...@gmail.com> wrote:
Hi Rick,With that explanation, the convention is fine.I'm getting a lot of action using EP and TP of 2.
On Mon, Oct 28, 2013 at 1:41 PM, Rick Drake <drak...@gmail.com> wrote:
Yeah.... I wasn't sure what to call it as the baskets will eventually contain both longs and shorts. The idea is that a Down Basket (full of martingale buys and anti-martingale sells) forms when the price moves down. Vice versa for the Up Basket. I could easily rename it... is my convention confusing?- Rick
:))
Hi Rick,Running with EP and TP = 2 so to get some action on a live account..
Visit this group at http://groups.google.com/group/margrids-battle-chest..
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com.
To post to this group, send email to margrids-battle-chest@googlegroups..com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google..com/group/margrids-battle-chest.
:))
Also noticed the display did not show a new level, so this is working like before..
Do you plan to add comments?They were good as then it was possible to see New Level trades as different from Balance Adjustment trades at the same level as the latest level.
On Mon, Oct 28, 2013 at 1:58 PM, BearBull <bearb...@gmail.com> wrote:
Already did that.It works OK.Picked up all the existing baskets.Just need to handle if the user stops the EA, manually closes some trades / baskets and then restarts the EA.It will hang.
On Mon, Oct 28, 2013 at 1:53 PM, Rick Drake <drak...@gmail.com> wrote:
Glad to hear that. One nice thing, is that since all the logic is moved outside Metatrader and into the DLL.... you can now sort the history in metatrader to whatever ordering you please, and don't have to worry about hedge detection issues. That was something I absolutely hated about Metatrader....
Oh... with all that action going on... could you try closing and restarting Metatrader and seeing if it resumes trading where it should?- Rick
On Sun, Oct 27, 2013 at 8:19 PM, BearBull <bearb...@gmail.com> wrote:
So far it is holding together.Ep and TP is what it should be and basket formation is as expected.
On Mon, Oct 28, 2013 at 1:45 PM, BearBull <bearb...@gmail.com> wrote:
Hi Rick,With that explanation, the convention is fine.I'm getting a lot of action using EP and TP of 2.
On Mon, Oct 28, 2013 at 1:41 PM, Rick Drake <drak...@gmail.com> wrote:
Yeah.... I wasn't sure what to call it as the baskets will eventually contain both longs and shorts. The idea is that a Down Basket (full of martingale buys and anti-martingale sells) forms when the price moves down. Vice versa for the Up Basket.. I could easily rename it... is my convention confusing?- Rick
On Sun, Oct 27, 2013 at 7:56 PM, BearBull <bearb...@gmail.com> wrote:
Hi Rick,Running with EP and TP = 2 so to get some action on a live account.Baskets are closing in Profit :))Noticed a Sell basket is called a Up basket and a Buy basket is called a Down basket?Maybe Sell should be a Down basket and Buy should be a Up basket?
On Mon, Oct 28, 2013 at 1:18 PM, BearBull <bearb...@gmail.com> wrote:
Hi Rick,Appears if you open a new demo account, when there were open trades on the old account, the new account will try to manage non existent trades. Only way out of it was deleting all the .dat files that are stored in the VirtualStore Expert/Files folder for the MT4 version. You get an error message saying the EA is trying to access non existing tickets. A LOT of them.
On Mon, Oct 28, 2013 at 12:44 PM, Rick Drake <drak...@gmail.com> wrote:
Ok... with the display fixed, I was able to verify that the restart picked up the basket info correctly, so it appears that the system recovers from restarts nicely. The concluding proof will be when it resumes trading correctly when the price moves.- Rick
On Sun, Oct 27, 2013 at 7:06 PM, Rick Drake (Google Drive) <drakerick@gmail..com> wrote:
I've shared an item with you..
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com..
Cheers. Got to give it away for the evening now. |
|
|
|
|
|
|
|
Ha ha the stress only comes un when it's real money |
Added some checks to hopefully eliminate the infinite loops that can hang metatrader. - Rick
![]() |
Chameleon.zip |
Hi Mark
Yes of course.
But at the moment mismatches between the existing .dat files and the actual opens appears to still be a problem.
Rick I would strongly suggest to put back the 40 level set file as an alternative to your new method. The reason is operationally sometime you need to modify 1 or 2 of the individual levels. With your new method that is not possible. Also there are EP and TP programs which can't be achieved with your new method.
via Note 2
Â
Hi Ed
Have seen that happen when Chameleon is looping due to open trade versus .dat file ticket mismatch.
via Note 2
Â
Added the functionality of custom settings for each level, which are loaded from a CSV file if present, Custom settings for the particular currency pair is set by creating a file "ChameleonSettingsCURRENCYPAIR.csv" such as "ChameleonSettingsEURUSD.csv" and placing it in the experts/files folder. The default settings file is "ChameleonSettings.csv". And of course, if there is no settings file at all, then the settings will be taken from the values calculated from the A and B. I'll share an example settings file. There is no practical limit as to the number of levels possible. - Rick
![]() |
Chameleon.zip |
--
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-chest+unsub...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-chest+unsub...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-chest+unsub...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-chest+unsub...@googlegroups.com.
To post to this group, send email to margrids-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Margrids Battle Chest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-chest+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to margrids-battle-...@googlegroups.com.
>>>> Visit this group at http://groups.google..com/>>>> group/margrids-battle-chest.
>>>> Added the functionality of custom settings for each level, which are loaded from a CSV file if present, Custom settings for the particular currency pair is set by creating a file "ChameleonSettingsCURRENCYPAIR.csv" such as "ChameleonSettingsEURUSD.csv" and placing it in the experts/files folder. The default settings file is "ChameleonSettings.csv". And of course, if there is no settings file at all, then the settings will be taken from the values calculated from the A and B. I'll share an example settings file.. There is no practical limit as to the number of levels possible.
>>>>
Hi Mark
I have not found it easy to detect a trend change, especially when writing code.
My suggestion to Rick was to monitor the growth of the size of the opposite basket and when that basket reached a level of say -2 of the hedged basket level, to release the hedged basket.
That way you let the basket levels determine the trend direction.
via Note 2
Â
>>>> To post to this group, send email to margrids-b....@googlegroups.com.
At start up the system could place pending buy and sell stop orders on either side of the current price, with a user set pip gap, instead of just opening market orders.
A trailing stop at a few pips less than the gap distance with an entry point target could also be used for the filled trade. If the trade is closed then go back to start.
Maybe sometimes a big price run will capture some decent profit before the retrace starts. This can be the AM part!
Â
When one of the pending orders is filled the other one is modified to maintain the original gap. Even if the baskets continue to be formed using a conventional grid from then on this entry method should help to reduce DD  but my contention is to use stop orders all the way which are continuously modified to trail the price action in the basket formation ?
Â
I only use pending orders for the small amount of manual trades that I take.
Ed
Mark
My last post was sent in error before I finished it! (Finger trouble on phone)
I was trying to say that I have set MBC to trade just 1 level in AM mode with TBO true and using the Basket trail function set to -10 and target to BE after a 10 pip gain. When I set the DC outer to 2 or there about (1 would not work)  I was getting very many false BOs all the time and when I increased it to 15 – 20 It worked well but opened another trade immediately while price was still beyond the  outer DC and lost most of the profit.
For my manual trades I use the 4hr or mostly the daily TF and the FxFish + MA-Cross_OC (attached) Â with buy or sell stop orders just outside the last days high/low when all the other conditions are met. It is very good If I give it some screen attention for entry and exit signals! Would be nice to automate it.
Â
Excellent results Syed.
Â
Great ideas from Rick also.
I believe the mGrid EA  works on vaguely similar lines to your Crowbar. See  the attached. It sure is fun to watch it trade on a visual BT or on a demo. I found in on Forexfactory
I never tried it on real though! Works great when the trend is active, Disaster in a ranging Mkt. ATR is a great indicator to get range info.
Are you going to programme The Crowbar as a standalone EA?
I think the interaction of ideas here is a great way to hatch a few new strategies.
To: margrids-b...@googlegroups.com
Subject: Re: [margrids-battle-chest] Re: Chameleon..zip (margri...@googlegroups.com)
To post to this group, send email to margrids-battle-chest@googlegroups..com.
To post to this group, send email to margrids-battle-chest@googlegroups..com.
Visit this group at http://groups.google.com/group/margrids-battle-chest.
For more options, visit https://groups.google.com/groups/opt_out.
Yes,ÂI can see the value of having "virtual" trades that are activated when stopped out.... and having a living, breathing basket if you will... Certainly it would be possible. Essentially you would be trading reversals, and the size of the trade would be dependent on how strong and far the movement went.Â- RickÂ
>>>> Groups "Margrids Battle Chest" group..
To post to this group, send email to margrids-b...@googlegroups.com..