Information
Username: | jumpycalm |
Member since: | 28 Mar 2019 |
Last login: | 28 Mar 2019 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 4 | 7 |
Forum Topics | 7 | 7 |
Jobs | 0 | 1 |
Last Algorithm Comments
Hi Bave,
Post your recommendation in this post or send me an email. I am working on a new bot based on similar concept as this one.
Thank you jamestryke, I believe what you are trying to achieve is called reverse Martingale, I actually tried your method before I posted the code to ctrader.com, but that method did not help on reducing drawdown, on the contrary, it introduced more drawdown. I already have a more advanced version compare to this one and I will post it on ctrader.com as soon as cTrader 3.5 is rolled out on majority brokers. As of this time, I tried many brokers, only Trader’s Way upgraded to 3.5. So, the majority brokers will roll out 3.5 very soon. My guess is the next couple of weeks.
Nice job!
Hi guys, this is probably the most mentioned and most popular cBot on cTrader. I have re-written the code and posted the code on github. Since the comments on this page is very long. I also created a new cBot link on ctrader.com, you guys can post any new comment on the new page.
Very special thanks to SaifBD for posting the very original code on to ctrader.com, that made the version 1 of the code
Special thanks to Candeias for re-writing the decompiled code to more human readable code which made the version 2 of the code.
Below are the improvements for the new code.
1. Code has been cleaned up and shortened to half, from over 400 lines to 200 lines. I added some comments in the code for easier understanding on the cBot;
2. Open buy and open sell Boolean was replaced with maximum open buy and sell number. For example, if you predict future is bullish market, set Maximum open sell position to 0;
3. The long-awaited stop loss was added. However, setting up stop loss is not recommended. If you don't need to enable stop loss, set stop loss to a very large number;
4. Setup parameters were grouped, new feature for cTrader 3.5
5. Added close all trade on stop flag to easy back test and forward test cBot. Currently, cTrader backtester does not show equity with open position when cBot stopped. So, this feature is crucial for accurate back test.
6. cTrader does not handle order take profit well, so, instead of setting a take profit value, this version will check open position on each tick and will execute close order then condition met.
7. I only back tested with this cBot, so, the chart drawing function was not tested. Chart drawing code was the original code from version 2.
afhacker did not post his code on the website, it's difficult to know how his indicator works. If you can find the source code for supply and demand, I may able to figure out and potentially integrate it with this indicator for better visualization.
Also, try range chart and tick chart, they are not time based.
Last Jobs Comments
I can do that. Check my open source projects to see the coding quality at https://ctrader.com/users/profile/22926"
Contact info@mrkeyfob.com for details.
This is a fake indicator. The buy and sell signals are painted 2 bars before the current bar. i.e. If we already know the price goes up, we paint a buy signal on the bar 2 bars before the current bar.