Fractalated Bob
-
MichaelM
- Trader
- Posts: 117
- Joined: Sun Dec 04, 2011 11:04 pm
Fractalated Bob
I've brought this up yesterday, Steve already implemented a fix for it in v1d in post 1 yesterday
-
spotdespot
- Trader
- Posts: 768
- Joined: Sun Jan 22, 2012 11:38 pm
Fractalated Bob
Yes - I updated my version when Steve posted it. I will double check I have the latest - maybe I screwed up a copy/paste.MichaelM » Tue Sep 09, 2014 7:48 am wrote:I've brought this up yesterday, Steve already implemented a fix for it in v1d in post 1 yesterday
-
MichaelM
- Trader
- Posts: 117
- Joined: Sun Dec 04, 2011 11:04 pm
Fractalated Bob
Wait... so you have TradingTimeFrame=15 on H4 charts and you're wondering why it's taking trades every 15mins? 
- fxozgirl
- Trader
- Posts: 1176
- Joined: Wed Nov 16, 2011 9:16 am
- Location: Melbourne, Australia
Fractalated Bob
Dave, the EA will take trades at whatever timeframe you have in the EA settings...ie TradingTimeFrame = 15, trades will be taken on the 15m timeframe irrespective of the chart you have it on.spotdespot » Tue Sep 09, 2014 4:46 pm wrote:Would someone who can code mind having a look at the last release please as I set up a new demo, where I wanted to try out some manual filtering on H4 - so literally turn the EA off if certain conditions aren't met on an H4 chart but keep the logic the same as the M15 demo that is doing very well (TradingTimeFrame = 15).
So I loaded exactly the same settings as I have on M15 but have the EA on H4 timeframe charts. What I have ended up with this morning is multiple trades on the "H4" account with those trades taken being taken every 15 minutes e.g. GBPJPY short at 07:00, 07:15 & 07:30 etc. but no trades yet on my M15 original demo.
Every time I look at code it seems I waste people's time![]()
Thanks,
Dave.
-
spotdespot
- Trader
- Posts: 768
- Joined: Sun Jan 22, 2012 11:38 pm
Fractalated Bob
Mmmm sarcasm nice - I will ignore that.MichaelM » Tue Sep 09, 2014 7:53 am wrote:Wait... so you have TradingTimeFrame=15 on H4 charts and you're wondering why it's taking trades every 15mins?
It seems I do actually still have the old version somehow despite having "replaced" the EA, void GetFractals still has the null,0 values. I will redownload - I must have screwed up somewhere.
Just saw your comment Shelley - yes I know that. That was the intention. However that wouldn't explain how I could get a trade every 15 minutes on one pair, unless the definition of fractals has changed.
Trying hard not to be offended for being treated like an idiot when having done something dumb with a copy/paste is difficult....
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Fractalated Bob
Hehe. I outdumb the entire universe in that sphere.when having done something dumb with a copy/paste is difficult....
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Fractalated Bob
I've noticed more and more in the newer versions of MT$ when updating an EA sometimes it doesnt recompile the mq4 to ex4 and so you make a change to the code then compile and then scratch your head as to why it makes no difference!spotdespot » Tue Sep 09, 2014 7:05 am wrote:Mmmm sarcasm nice - I will ignore that.MichaelM » Tue Sep 09, 2014 7:53 am wrote:Wait... so you have TradingTimeFrame=15 on H4 charts and you're wondering why it's taking trades every 15mins?
It seems I do actually still have the old version somehow despite having "replaced" the EA, void GetFractals still has the null,0 values. I will redownload - I must have screwed up somewhere.
Just saw your comment Shelley - yes I know that. That was the intention. However that wouldn't explain how I could get a trade every 15 minutes on one pair, unless the definition of fractals has changed.
Trying hard not to be offended for being treated like an idiot when having done something dumb with a copy/paste is difficult....
Safest thing it to close Empty4, delete old mq4 and ex4, then copy new mq4 in to dir and then open Empty4. It should then compile the ex4 and you should be good to go.
BTW Steve i am liking this EA making a steady 1-2% a day using just a basket trailing stop of $50 trailing by 75% on a 10k demo. I know its early days but i'm liking this one a lot.
Just a thought but as for guessing the mindistancetoMA and gap between trades it may be worth using a factor of ADR to adjust for volatility of each pair. i have used this before and it may help with stoping the whipsaw on all pairs once ideal setting found. But i guess like with all of these we need to let it run its course and watch what happens.
Regards
Mike
-
spotdespot
- Trader
- Posts: 768
- Joined: Sun Jan 22, 2012 11:38 pm
Fractalated Bob
Thanks Mike - I've noticed a few strange things too and usually take the route you suggested but perhaps didn't this time. Or maybe I just screwed upmagft » Tue Sep 09, 2014 10:51 am wrote:
I've noticed more and more in the newer versions of MT$ when updating an EA sometimes it doesnt recompile the mq4 to ex4 and so you make a change to the code then compile and then scratch your head as to why it makes no difference!
Safest thing it to close Empty4, delete old mq4 and ex4, then copy new mq4 in to dir and then open Empty4. It should then compile the ex4 and you should be good to go.
BTW Steve i am liking this EA making a steady 1-2% a day using just a basket trailing stop of $50 trailing by 75% on a 10k demo. I know its early days but i'm liking this one a lot.
Just a thought but as for guessing the mindistancetoMA and gap between trades it may be worth using a factor of ADR to adjust for volatility of each pair. i have used this before and it may help with stoping the whipsaw on all pairs once ideal setting found. But i guess like with all of these we need to let it run its course and watch what happens.
Regards
Mike
I agree re. the mindistancetoMA - 20 pips seems to be working ok but a proportion of the ADR makes good sense.
Cheers,
Dave.
- fxozgirl
- Trader
- Posts: 1176
- Joined: Wed Nov 16, 2011 9:16 am
- Location: Melbourne, Australia
Fractalated Bob
Hi Steve,
Just getting my head around the latest version and have turned on (left as default) the new MinDistanceToMaPips & MaxDistanceFromMa using ATR as described by you in Post 1 below.
Not sure if my jetlagged brain is not firing properly but I assumed the intention of MaxDistance from MA was to prevent FB taking a trade if it was outside the max distance from MA? I had a GBPUSD trade taken this morning that was well outside the line set. Apologies if I have misunderstood this function. (See screenshot below)
Just getting my head around the latest version and have turned on (left as default) the new MinDistanceToMaPips & MaxDistanceFromMa using ATR as described by you in Post 1 below.
Not sure if my jetlagged brain is not firing properly but I assumed the intention of MaxDistance from MA was to prevent FB taking a trade if it was outside the max distance from MA? I had a GBPUSD trade taken this morning that was well outside the line set. Apologies if I have misunderstood this function. (See screenshot below)
Optional maximum distance filters
Minimum distance from the Moving Average. If enabled, FB draws a dashed Turquoise line to show this price on our charts, then:
MinDistanceToMaPips: the closest that FB will allow the market to approach the MA before cancelling a trade. Zero value to disable this filter.
ShowMinDistanceOnly: defaults to 'true'. This allows you to have the line on your chart for reference and research, but FB will not use it to cancel a trade.
Maximum distance from the Moving Average. If enabled, FB uses ATR to calculate the price for drawing a dotted Turquoise line to show this price on our charts, then:
AtrPeriod: the default equates to roughly a month of D1 trading. Zero value disables this filter.
AtrTimeFrame: the time frame used to calculate the ATR. Enter this input in minutes. The default is the D1.
AtrMultiplier: multiplies the calculated ATR by this figure.
ShowMaxDistanceOnly: defaults to 'true'. This allows you to have the line on your chart for reference and research, but FB will not use it to cancel a trade.
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Fractalated Bob
Watch the ShowMinDistanceOnly and ShowMaxDistanceOnly input values. If these are 'true' then FB will show the lines but not act upon them.fxozgirl » Wed Sep 10, 2014 2:53 am wrote:Hi Steve,
Just getting my head around the latest version and have turned on (left as default) the new MinDistanceToMaPips & MaxDistanceFromMa using ATR as described by you in Post 1 below.
Not sure if my jetlagged brain is not firing properly but I assumed the intention of MaxDistance from MA was to prevent FB taking a trade if it was outside the max distance from MA? I had a GBPUSD trade taken this morning that was well outside the line set. Apologies if I have misunderstood this function. (See screenshot below)
There is some odd code in the display function, so I will look at this later.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.