Fmfx auto-trader. Another new toy by Steve Hopwood

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by SteveHopwood »

harryA wrote:Just a quick look at journal points out to missing sidhu_v3 indicator could be one of the cause to close the trade right away, Please include that file along with EA at the front page. I m trying to find it on FF as well. Thanks
People all over this forum are booking their seats for entertainment. because they know that one (only one, cos there are several) of my pet hates is thickies too dim and dense to read post one in my threads properly.

Now, I am aware that what follows contains the occasional two-syllable word and that you cannot cope with these, and normally try to accommodate people offering your level of stupidity, but not on this occasion.

FROM POST 1 HERE "Visit the thread to read how the system works - this one is very simple. You can download a template to set up the chart and the one custom indi the system needs - the other two are indi's shipped with Empty4."

Which bit of this is causing you difficulty? 'Visit' - that is two syllables? 'system' - another? 'download'?

If you cannot even be arsed to read my OP's properly (and this one is very simple) then refrain from posting in the body of the thread. Insist on continuing along your chosen line of moronic stupidity and I will remove your registration here.
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.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by mobthehop »

Steve, I hope you don't mind but I loooovvveeee these posts of yours..... I am presently contemplating, to collect Steve's famous words and publish them as a book for forum moderators and aspiring forex traders.... Just kidding (a bit)

Keep it up!
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by SteveHopwood »

mobthehop wrote:Steve, I hope you don't mind but I loooovvveeee these posts of yours..... I am presently contemplating, to collect Steve's famous words and publish them as a book for forum moderators and aspiring forex traders.... Just kidding (a bit)

Keep it up!
Oh, I shall.

Back in The Dark Ages of FF, PCA TIT kept me in check to some extent. Whenever some ickle wickle lamby wamby newbie had its feathers ruffled by some inoffensive remark by me, said iwlw would whinge to TIT, who would whinge at me. This often stopped me saying what I actually thought of some dim-witted and pathetic so-called 'contributor' because responding to TIT took time I was unwilling to waste.

Here, I am the PCA (anyone here brave enough to add the next bit? :lol: ) and can say what I really feel. Strangely, this constrains my tongue as I have nobody else to control me except myself, so I am mostly quite mild in my responses.

Mostly.

There are exceptions.

Such as when a contributor is too thick to read post 1. When this happens, it is Open Season.

:D
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.
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Aussiedoc »

SteveHopwood wrote:As to the rapid appearance/then closure of trades, is everyone testing the EA on a clean demo that is not hosting other EA's? :D
Steve, thanks!

It was on a brand new demo platform; has been loaded onto another (just in case) but still has the same problems.

In your next post you suggested
Those of you who can, save yourselves a re-download by copying this over the top of your existing code (copy it over the whole of bool CloseTrade(int ticket):
so I figured I'd 'Jump-in-at-the-deep-end' on my first attempt to modify by adding something to existing coding. :oops: :roll: :lol:

In my ignorance I took what you said above - literally. Using the CTRL-F function it was a doddle to find "void CountOpenTrades()" - and the subsequent close of that section; replace the coding and recompile the EA.

Looking good - feeling great I figured that programming can't be that hard!
Got taken off at the knees by the next step - didn't I?
Also, go to void CountOpenTrades() and copy this to the very end of the function will be the only trade, just above
}//End void CountOpenTrades();

CODE: SELECT ALL
//Reselect the most recent trade. If Recovery/hedging/caterpillar are not being used, this will be the only trade
if (TicketNo > -1) OrderSelect(TicketNo, SELECT_BY_TICKET, MODE_TRADES);
Looking for anything relating to
the very end of the function will be the only trade, just above
}//End void CountOpenTrades();
I went through the coding every which-way from Sunday; and found nothing. I downloaded the EA again from Post 1 - no joy! Attempting to add that bit in at the suggested point causes the compiler to "spit-the-dummy" - because it relates to other missing code.

Steve, obviously, in my ignorance, I am missing/not doing something that is glaringly obvious to everyone else who understands programming. :roll: Please put me out of my misery! Please tell me what the 'something' is.

Thanks, Doc :D
If you can never exceed your own expectations - why expect second-best?
harryA
Posts: 2
Joined: Tue Jan 10, 2012 11:44 pm

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by harryA »

SteveHopwood wrote:
harryA wrote:Just a quick look at journal points out to missing sidhu_v3 indicator could be one of the cause to close the trade right away, Please include that file along with EA at the front page. I m trying to find it on FF as well. Thanks
People all over this forum are booking their seats for entertainment. because they know that one (only one, cos there are several) of my pet hates is thickies too dim and dense to read post one in my threads properly.

Now, I am aware that what follows contains the occasional two-syllable word and that you cannot cope with these, and normally try to accommodate people offering your level of stupidity, but not on this occasion.

FROM POST 1 HERE "Visit the thread to read how the system works - this one is very simple. You can download a template to set up the chart and the one custom indi the system needs - the other two are indi's shipped with Empty4."

Which bit of this is causing you difficulty? 'Visit' - that is two syllables? 'system' - another? 'download'?

If you cannot even be arsed to read my OP's properly (and this one is very simple) then refrain from posting in the body of the thread. Insist on continuing along your chosen line of moronic stupidity and I will remove your registration here.

Agree !! Completely missed that one on first visit, 2nd visit and got it !!! I was never complaining abt the missed indicator but rather was to reply to post pointing to rapid closing of trades.... in case ppl downloaded just the EA, without indicator on the first hit on the first page, like me, so missing the indicator could be one of the reason for this behavior by EA.
batemap
Trader
Posts: 20
Joined: Tue Nov 15, 2011 9:17 pm
Location: Melbourne, Australia

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by batemap »

Also, go to void CountOpenTrades() and copy this to the very end of the function will be the only trade, just above
}//End void CountOpenTrades();

CODE: SELECT ALL
//Reselect the most recent trade. If Recovery/hedging/caterpillar are not being used, this will be the only trade
if (TicketNo > -1) OrderSelect(TicketNo, SELECT_BY_TICKET, MODE_TRADES);
Looking for anything relating to
the very end of the function will be the only trade, just above
}//End void CountOpenTrades();
I went through the coding every which-way from Sunday; and found nothing. I downloaded the EA again from Post 1 - no joy! Attempting to add that bit in at the suggested point causes the compiler to "spit-the-dummy" - because it relates to other missing code.

Steve, obviously, in my ignorance, I am missing/not doing something that is glaringly obvious to everyone else who understands programming. :roll: Please put me out of my misery! Please tell me what the 'something' is.

Thanks, Doc :D[/quote]

Hi Doc

I think the end bit should look like: -

Code: Select all

   }//for (int cc = OrdersTotal() - 1; cc <= 0; c`c--)
   
   //Detect Recovery and Hedging. Both HedgingInProgress and RecoveryInProgress are reset to false in start(),
   //if the call to this function results in OpenTrades == 0
   //Detect hedging
   if (BuyOpen && SellOpen) HedgingInProgress = true;
   
   //Detect Recovery.   
   if (UseRecovery && OpenTrades >- Start_Recovery_at_trades) RecoveryInProgress = true;
   if (TicketNo > -1) OrderSelect(TicketNo, SELECT_BY_TICKET, MODE_TRADES);
}//End void CountOpenTrades();
You'll see where the TicketNo > -1 statement has been added and it complies fine, for me.

Cheers

Paul
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Aussiedoc »

batemap wrote: You'll see where the TicketNo > -1 statement has been added and it complies fine, for me.

Cheers

Paul
Paul, got it! Thanks very much! :D :D
If you can never exceed your own expectations - why expect second-best?
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Aussiedoc »

Hi!!

In the updated EA, within the "Trading Hours" section is a switch(?) named 'Specific time inputs' with the time set to 12.15.

What is its function, please?
If you can never exceed your own expectations - why expect second-best?
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by SteveHopwood »

Ignore it, Doc. It does nothing but I forgot to remove it. It has gone now.

:D
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.
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

Re: Fmfx auto-trader. Another new toy by Steve Hopwood

Post by Aussiedoc »

SteveHopwood wrote:Ignore it, Doc. It does nothing but I forgot to remove it. It has gone now.

:D
Thanks Steve. Appreciate the quick answer. :D
If you can never exceed your own expectations - why expect second-best?
Post Reply

Return to “Automated trading systems”