Good morning,
Possible to add Heiken Ashi (HA) candle and Moving Average (MA) TP trail? If possible both also in mtf similar to the existing MPTM candlestick trail.
Both trails can be instantly triggered just like InstantTrailStop or triggers after few pips move or BE reached.
Thank you,
Request: Heiken Ashi and Moving Average trail
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
You do not have the required permissions to view the files attached to this post.
- McNish
- Trader
- Posts: 227
- Joined: Tue Nov 06, 2012 3:56 pm
Request: Heiken Ashi and Moving Average trail
Please describe in more detail what exctly u looking for. attach an picture example also, and be precise as anyone who attempts to mod the code is going to put valuable time to it, doesn't matter if it's just a couple minutes for some coders here, but it's still someone's valuable time. Please respect that.
Don't know what's a mtf candlestick trail. Used MPTM and still do but never that feature. So I'll skip The mtf part for now.
Awaiting your detailed description. Cheers, Max
Don't know what's a mtf candlestick trail. Used MPTM and still do but never that feature. So I'll skip The mtf part for now.
Awaiting your detailed description. Cheers, Max
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
Sorry for the inconvenience. 2 attached pictures are the descriptions and a Heiken Ashi basic indicator.McNish » Mon Aug 11, 2014 5:22 am wrote:Please describe in more detail what exctly u looking for. attach an picture example also, and be precise as anyone who attempts to mod the code is going to put valuable time to it, doesn't matter if it's just a couple minutes for some coders here, but it's still someone's valuable time. Please respect that.
Don't know what's a mtf candlestick trail. Used MPTM and still do but never that feature. So I'll skip The mtf part for now.
Awaiting your detailed description. Cheers, Max
Thank you very much of your time
You do not have the required permissions to view the files attached to this post.
- McNish
- Trader
- Posts: 227
- Joined: Tue Nov 06, 2012 3:56 pm
Request: Heiken Ashi and Moving Average trail
Nicely done with the explanations, real good. Shows your commitment to your work and for others time as well. Please keep it up in the future as well.
So, you want to add the MA trail feature as you described and also the HA CS trail, also as described. Fine!
Give me a day, will you. I'm not actually an A grade coder, rather a C grade, one that can hack, edit, compile and run. Thus a day is what i need.
Cheers, Max
So, you want to add the MA trail feature as you described and also the HA CS trail, also as described. Fine!
Give me a day, will you. I'm not actually an A grade coder, rather a C grade, one that can hack, edit, compile and run. Thus a day is what i need.
Cheers, Max
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
Thanks Max, will keep that in mindMcNish » Mon Aug 11, 2014 10:25 am wrote:Nicely done with the explanations, real good. Shows your commitment to your work and for others time as well. Please keep it up in the future as well.![]()
So, you want to add the MA trail feature as you described and also the HA CS trail, also as described. Fine!
Give me a day, will you. I'm not actually an A grade coder, rather a C grade, one that can hack, edit, compile and run. Thus a day is what i need.
Cheers, Max
- McNish
- Trader
- Posts: 227
- Joined: Tue Nov 06, 2012 3:56 pm
Request: Heiken Ashi and Moving Average trail
OK,
Have set Moving Average Trail Method. Compiled with no error but haven't check the EA on the run.
MA trail is in conjunction with BE.
Please run it to your settings and let me know if there are any errors, in logic or otherwise.
I'll do the HA trail after your feedback with the initial modification. The MA Trail was the easier of the two thus i did that first.
If EA runs correct on my coded logic, it'll be easier for me to attempt the HA trail. Thus i'll wait for your feedback on this first.
Please note that only one of the methods of non standard trailing should be set to true, i.e either Candle Trail is true or MA trail is true but both can't be true in a single instance of the EA.
Cheers, MAx,
Have set Moving Average Trail Method. Compiled with no error but haven't check the EA on the run.
MA trail is in conjunction with BE.
Please run it to your settings and let me know if there are any errors, in logic or otherwise.
I'll do the HA trail after your feedback with the initial modification. The MA Trail was the easier of the two thus i did that first.
If EA runs correct on my coded logic, it'll be easier for me to attempt the HA trail. Thus i'll wait for your feedback on this first.
Please note that only one of the methods of non standard trailing should be set to true, i.e either Candle Trail is true or MA trail is true but both can't be true in a single instance of the EA.
Cheers, MAx,
You do not have the required permissions to view the files attached to this post.
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
Ok, will test it out, give me 1 to 2 days
.
thank you,
thank you,
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
Hi Max,
Preliminary results - no close upon touching 50sma of 4hr.
TrailStop set to True.
BE - on.
Partial Close - on
MA: 50SMA
TF: 240m
Set file attached.
Challenge 1:
I'm not sure about this, the MA trailstop is upon touching the MA or need to wait for a candle close? In above case, the price had touched the 50sma but didn't close, have to wait for 4hr candle close first?
Challenge 2:
When removing this MPTM from a chart, it took around 5 seconds. The original MPTM takes split seconds.
Will test further.
Possible to add Take Profit based on this MA settings? When the price let's say hit 50ma, it closes the position.
Thank you again,
Preliminary results - no close upon touching 50sma of 4hr.
TrailStop set to True.
BE - on.
Partial Close - on
MA: 50SMA
TF: 240m
Set file attached.
Challenge 1:
I'm not sure about this, the MA trailstop is upon touching the MA or need to wait for a candle close? In above case, the price had touched the 50sma but didn't close, have to wait for 4hr candle close first?
Challenge 2:
When removing this MPTM from a chart, it took around 5 seconds. The original MPTM takes split seconds.
Will test further.
Possible to add Take Profit based on this MA settings? When the price let's say hit 50ma, it closes the position.
Thank you again,
You do not have the required permissions to view the files attached to this post.
- McNish
- Trader
- Posts: 227
- Joined: Tue Nov 06, 2012 3:56 pm
Request: Heiken Ashi and Moving Average trail
OK, will check with the set file for challenge 1.
For the second, about unloading EA, sometimes while the EA button is on and the EA is removed, it takes couple second, like 5 or so and the platform freezes for that time, then it's back to normal. Check to see if that was the case.
Once challenge 1 is dealt with, the TP thing can be done easy.
Will update after test. Cheers,
mptm - trail on, BE on, partial close on - but to no avail.set -----

For the second, about unloading EA, sometimes while the EA button is on and the EA is removed, it takes couple second, like 5 or so and the platform freezes for that time, then it's back to normal. Check to see if that was the case.
Once challenge 1 is dealt with, the TP thing can be done easy.
Will update after test. Cheers,
mptm - trail on, BE on, partial close on - but to no avail.set -----
-
helloworld123
- Trader
- Posts: 27
- Joined: Sat Apr 26, 2014 2:40 pm
Request: Heiken Ashi and Moving Average trail
Yes it freezes as per description and back to normal.McNish » Wed Aug 13, 2014 8:46 pm wrote:OK, will check with the set file for challenge 1.
For the second, about unloading EA, sometimes while the EA button is on and the EA is removed, it takes couple second, like 5 or so and the platform freezes for that time, then it's back to normal. Check to see if that was the case.
Once challenge 1 is dealt with, the TP thing can be done easy.
Will update after test. Cheers,
mptm - trail on, BE on, partial close on - but to no avail.set -----![]()
![]()
Will wait for you update.
Thank you again