stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Fmfx auto-trader. Another new toy by Steve Hopwood
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=318
Page 4 of 13
Author:  SteveHopwood [ Fri Feb 03, 2012 12:15 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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.
Author:  mobthehop [ Fri Feb 03, 2012 1:24 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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!
Author:  SteveHopwood [ Fri Feb 03, 2012 1:41 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  Aussiedoc [ Fri Feb 03, 2012 3:14 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  harryA [ Fri Feb 03, 2012 3:33 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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.
Author:  batemap [ Fri Feb 03, 2012 4:11 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  Aussiedoc [ Sat Feb 04, 2012 3:03 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
Author:  Aussiedoc [ Sat Feb 04, 2012 4:55 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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?
Author:  SteveHopwood [ Sat Feb 04, 2012 10:25 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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

:D
Author:  Aussiedoc [ Sun Feb 05, 2012 4:37 am ]
Post subject:  Re: Fmfx auto-trader. Another new toy by Steve Hopwood

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
All times are UTC Page 4 of 13