• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 6:16am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 6:16am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Abokwaik replies to PMs 95 replies

Hanover - can you help me with MT4 qs please? 4 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 361
Attachments: Hanover replies to PMs
Exit Attachments
Tags: Hanover replies to PMs
Cancel

Hanover replies to PMs

  • Last Post
  •  
  • 1 2829Page 303132 72
  • 1 29Page 3031 72
  •  
  • Post #581
  • Quote
  • Mar 22, 2017 1:52pm Mar 22, 2017 1:52pm
  •  Mtinifx
  • Joined Feb 2011 | Status: Member | 6,018 Posts
Hi Hanover

Please can you help me? The attached EA's work fine on the MT4 strategy tester. They open trades where they should using the strategy tester, but on the live chart NOTHING happens! Why?? Is it the platform, the broker? Please help. Thanks
Attached File(s)
File Type: mq4 Price_Bounce_Off_MA_v.2e_mod.mq4   19 KB | 167 downloads
File Type: ex4 Price_Bounce_Off_MA_vff v1.ex4   24 KB | 124 downloads
 
 
  • Post #582
  • Quote
  • Mar 23, 2017 4:21am Mar 23, 2017 4:21am
  •  javad.111
  • | Membership Revoked | Joined Nov 2016 | 67 Posts
Quoting hanover
Disliked
{quote} Many thanks for your work.
Ignored
Hello dear Hanover
I have a short question ,I know you have highest ranking is FF .
If you want to mention 3 profitable thread (system) in FF , witch ones do you choose ?
Thanks a lot
 
 
  • Post #583
  • Quote
  • Edited 5:31pm Mar 23, 2017 3:42pm | Edited 5:31pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting jmtini
Disliked
The attached EA's work fine on the MT4 strategy tester. They open trades where they should using the strategy tester, but on the live chart NOTHING happens! Why?? Is it the platform, the broker?
Ignored
I've had a quick look at the code in the mq4 file (ex4 is unreadable), and I can't see anything obviously wrong. However, because I didn't write the code myself, it's hard to anticipate exactly what might be causing it to go wrong. There is little point in my testing it here as my computer setup, br0ker, MT4 version, Windows etc will all be different to yours. I haven't used strategy tester for many years, hence I've forgotten exactly how it operates.

Sorry I can't be more help. EAs are more difficult to troubleshoot than indicators, because it's almost impossible to exactly reproduce historical price movements. All I can suggest is that there is something different about your live price feed, that is not apparent to the strategy tester. I have no way of knowing what that might be. Try posting in one of the "I code for free" threads, it's highly possible that somebody else will see something that I've missed.
_______________________________________________________________

Quoting javad.111
Disliked
I have a short question ,I know you have highest ranking is FF . If you want to mention 3 profitable thread (system) in FF , witch ones do you choose ? Thanks a lot
Ignored
First, ranking is irrelevant; I'm a retired programmer, not a professional trader.

Second, FWIW I tend to believe in abstracts like experience, knowledge, concepts and techniques, rather than "systems". In other words, it is only the expertise of a trader that makes a system long-term profitable.

Third, it's impossible to know what is profitable without testing every system over several years' worth of changing markets. Since I have my own approach to trading (a large part of which is based around FA), I don't tend to test "systems" as such, at least not any more. I use FF as one possible source for new ideas, and some entertainment, but not much else.

However, to answer your question......... I guess it's reasonable to assume that the systems that have survived the test of time -- and hence their threads have gathered a lot of posts (e.g. this this this this and this) -- are more likely to be profitable than those that haven't. But I haven't tested any of them for myself.

[EDIT] Here are some FF members whom I suspect are profitable, you might want to read some of their posts:
sisse, skfx, Fudomyo, numbnuts, Parmalat, HedgePiglet, skenobi, topherhk88, Gaston, daytrading, flotsom, Jack_Larkin, kiwi_trader, Porkpie, BillyRayVal, claudia1, alphaomega, j4d, the_wizard, soultrader, Igrok, medici, hayseed........ and probably many others out of the 430,000+ members who've either slipped my ageing mind or whom I've yet to encounter.
 
3
  • Post #584
  • Quote
  • Mar 24, 2017 5:06am Mar 24, 2017 5:06am
  •  Mtinifx
  • Joined Feb 2011 | Status: Member | 6,018 Posts
Quoting hanover
Disliked
{quote} I've had a quick look at the code in the mq4 file (ex4 is unreadable), and I can't see anything obviously wrong. However, because I didn't write the code myself, it's hard to anticipate exactly what might be causing it to go wrong. There is little point in my testing it here as my computer setup, br0ker, MT4 version, Windows etc will all be different to yours. I haven't used strategy tester for many years, hence I've forgotten exactly how it operates. Sorry I can't be more help. EAs are more difficult to troubleshoot than indicators, because...
Ignored
Hi Hanover
Thanks so much for the help.

I can tell you that it seems to be working OK now!

However it does not open a new trade until an existing one closes even though the condition may be right for 2 trades to be open at the same time. What part of the coding controls that?
Thank so much
 
 
  • Post #585
  • Quote
  • Mar 24, 2017 8:39am Mar 24, 2017 8:39am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting jmtini
Disliked
I can tell you that it seems to be working OK now! However it does not open a new trade until an existing one closes even though the condition may be right for 2 trades to be open at the same time. What part of the coding controls that?
Ignored
Glad to hear that it is working. No need for any thanks, especially as all I did was say that I was unable to help, LOL.

As far as I can tell (the code is not that easy to read, the programmer does not indent his if statements consistently) the number of trades is controlled by the user setting MaxTrade. If the total number of OPEN buys AND sells for the given currency pair (i.e. the pair whose chart to which the EA is attached) and whose magic# is the same as the MagicNumber in the user setting exceeds the value you set in MaxTrade, it will not attempt to place any more trades (buy OR sell). Also, the EA is effectively disabled (and an audiovisual alert appears) if either (1) the spread is currently wider than the user setting MaxSpread, or (2) the Time Block Filter (I don't know exactly what this is) applies. If disabled, it will not place any trades also.

Also, for a buy trade, the Ask price must be <= EMA0 + EnvelopeRange, Low1 must be > EMA1 + EnvelopeRange, and Low2 must be > EMA2 + EnvelopeRange.
Vice versa for a sell trade. Low1, EMA1 etc means the candle low, EMA value, etc 1 candle ago on the TimeFrame you specify.

You can see the code that places a buy trade in lines 230 thru 276, and a sell trade in lines 277 thru 324. Hope that helps.
 
1
  • Post #586
  • Quote
  • Mar 24, 2017 8:56am Mar 24, 2017 8:56am
  •  TooSlow
  • Joined Mar 2012 | Status: Trader | 12,003 Posts
Quoting hanover
Disliked
{quote} Glad to hear that it is working. No need for any thanks, especially as all I did was say that I was unable to help, LOL. As far as I can tell (the code is not that easy to read, the programmer does not indent his if statements consistently) the number of trades is controlled by the user setting MaxTrade. If the total number of OPEN buys AND sells for the given currency pair (i.e. the pair whose chart to which the EA is attached) and whose magic# is the same as the MagicNumber in the user setting exceeds...
Ignored
Didn't you tell me about a code formatter?
My Threads: Trading is as simple as 1-2-3, Highest Open / Lowest Open Trade
 
 
  • Post #587
  • Quote
  • Edited 9:52am Mar 24, 2017 9:18am | Edited 9:52am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting TooSlow
Disliked
Didn't you tell me about a code formatter?
Ignored
Fair enough, and in the past I've used this and this (they're a bit rough, did you manage to find a better one?)
But it's 2am here in NZ and I was being lazy, trying to get the job out of the way as quickly as possible.
Goes without saying that I don't get rewarded for doing any of this.
 
1
  • Post #588
  • Quote
  • Mar 24, 2017 12:28pm Mar 24, 2017 12:28pm
  •  TGS
  • Joined Dec 2016 | Status: Member | 464 Posts
Quoting hanover
Disliked
...Goes without saying that I don't get rewarded for doing any of this.
Ignored
It has no direct monetary value but there's the reward of being publicly considered one, of a hand full of giants, within forex retail communities on ForexFactory and a few other forums. Of course another giant currently active at ForexFactory is mladen who anything he touches magically becomes non-repaint.
 
 
  • Post #589
  • Quote
  • Mar 24, 2017 2:14pm Mar 24, 2017 2:14pm
  •  Mtinifx
  • Joined Feb 2011 | Status: Member | 6,018 Posts
Quoting hanover
Disliked
{quote} Glad to hear that it is working. No need for any thanks, especially as all I did was say that I was unable to help, LOL. As far as I can tell (the code is not that easy to read, the programmer does not indent his if statements consistently) the number of trades is controlled by the user setting MaxTrade. If the total number of OPEN buys AND sells for the given currency pair (i.e. the pair whose chart to which the EA is attached) and whose magic# is the same as the MagicNumber in the user setting exceeds the value you set in MaxTrade, it...
Ignored
Thanks Hanover

To be honest I'm lost after about the second line!

The problem is that the "maxtrade" input controls the number of trades opened at one particular bounce (or contact with ema), which is a bit pointless because one can open 1 x .05 trade instead of 5 x 0.01 trades!

What I want is for the EA to open one trade everytime when price action touches the envelope. In other words, for there to be 2 or three trades open at the same time. Here's an example in practice in the image below. When price action visited the envelope this morning on EURJPY and again 4 hours later (yellow arrows). At the moment, the EA will not open a second trade while a first trade was opened (on the first bounce). That is what I dearly would love changed in this EA which is the only one that seems to open trades fairly reliably!
Attached Image (click to enlarge)
Click to Enlarge

Name: EURJPYH1.png
Size: 18 KB
 
 
  • Post #590
  • Quote
  • Edited 9:51am Mar 25, 2017 9:00am | Edited 9:51am
  •  talis9
  • | Joined Mar 2017 | Status: Junior Member | 2 Posts
OK this is a 2nd attempt (first timed out ..its a busy life) Hanover, well seasoned prgmer & a Russian MT 5 post got me in here , doubt i have time much beyond this .. looking at where EA is today by the sponsored products on Meta is like walking thru a prehistoric museum. Allow me to say the instant ANYONE has a working $ printing press, shall open source

read about EA's without advantage of 2's complement maths on GPU's . & wonder..what are they doing? yes i realize MT does not have GPU libraries . since when does that stop a programmer ?

theres quotes on this site (this php site is so old i cant find a way to "quote it " (even its got Quote on the menu)..

Jus warning THIS is NOT my quote, its a lament from a member who cant program his idea , so i suggest a link , later.

" got an idea for a dynamic neural network which could help settle the question of whether the market is predictable or not. I've worked it out on paper and it looks good... putting it into code however... lol it's pretty hard with MQL. I might just end up creating something that just feeds the data from MT elsewhere to be processed. .. can't say why since it might give away what my idea is. " .. maybe its better to keep him anonymous

OK so i pasted it .. Now here is someone who cant format dimensional arrays in MQL in a way to make any sense of a predictable market .. alluding to "a discovery" that with neural nets makes the market predictable, hes not a prgrmer ..

Trading for 10 years on & off ,, (both brokers went into liquidation) ..was it due to my position increase of $860,000 in 5 weeks ? (with 20K margin funds, (drop experience of $100k not uncommon) That was the first..
S+nrey was the worst offender taking $1.6m on the drop which turned into 100m on the way up (2008-10).

Lets get it right..the market is manipulated. IT has to be in order to regulate the selloff ..with a DJ handbrake.
Otherwise we would see a collapse every time certain large investors got greedy for profit .. WHO do u think was responsible for the sell off in 2016 .. market dropped almost 2000 continuous points from Xmas till Feb ..

WHO was there ? it started off with Berkshire selling off half billion in stock.. he was silenced by law ,, Look into it.
Only an idiot would apply Fibonacci thru that lot. Not to say For Idiot books arn't popular. What about last Friday
How flippin obvious the DOW put a brake on the DAX on open & ccntinued to lead the drop .. 25 MAR 2017

OK OK lets have something useful ..i agree: http://docs.nvidia.com/cuda/gpudirec...#axzz4c20Uf1U5
..what is that ? well its an API with the ability to write/ read directly to GPU RAM.
While yor there , explore the Conv libraries .. & when u have a correlation which gives an output proportional to NN proximity .. respond to this post .. Noone has such an Algo working in real time , oh yes if u dont have it in RT .. HEY, almost forgot to link to the Russian trading : here is https://www.mql5.com/en/articles/2739
jus see all these "seasoned traders" donning a fire helmet .. There is predictable trading .. it lasts for a second or two.
 
 
  • Post #591
  • Quote
  • Mar 27, 2017 12:36am Mar 27, 2017 12:36am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting jmtini
Disliked
What I want is for the EA to open one trade everytime when price action touches the envelope. In other words, for there to be 2 or three trades open at the same time. Here's an example in practice in the image below. When price action visited the envelope this morning on EURJPY and again 4 hours later (yellow arrows). At the moment, the EA will not open a second trade while a first trade was opened (on the first bounce). That is what I dearly would love changed in this EA which is the only one that seems to open trades fairly reliably!
Ignored
Hi,

I'm sorry, but if you want coding or detailed troubleshooting performed, I'm no longer doing this type of work. It's just too time consuming and distracts me from my own trading.

You could try posting in one of the "I code your indicators for free" threads, and perhaps somebody else can help you. Or if you're willing to pay for the work, you could try MQL or elance.

Good luck,
David
 
1
  • Post #592
  • Quote
  • Apr 6, 2017 11:58pm Apr 6, 2017 11:58pm
  •  javad.111
  • | Membership Revoked | Joined Nov 2016 | 67 Posts
Quoting hanover
Disliked
{quote} I've had a quick look at the code in the mq4 file (ex4 is unreadable), and I can't see anything obviously wrong. However, because I didn't write the code myself, it's hard to anticipate exactly what might be causing it to go wrong. There is little point in my testing it here as my computer setup, br0ker, MT4 version, Windows etc will all be different to yours. I haven't used strategy tester for many years, hence I've forgotten exactly how it operates. Sorry I can't be more help. EAs are more difficult to troubleshoot than indicators, because...
Ignored
Thank you Thank you dear Hanover
 
 
  • Post #593
  • Quote
  • Apr 13, 2017 4:41am Apr 13, 2017 4:41am
  •  shabirsaleem
  • | Joined Sep 2016 | Status: Kill your emotions, when trading FX | 83 Posts
Hi Hanover
Please can you help me? The attached EA's work fine on the MT4 strategy tester. BUT it needs to be more manageable. Could you please add Trading Time (9 am to 8 pm) to the bellow attached EA. Please help. Thanks in advance.

Best wishes
Attached File(s)
File Type: mq4 angrybird_xscalpingn.mq4   21 KB | 145 downloads
 
 
  • Post #594
  • Quote
  • Apr 13, 2017 12:19pm Apr 13, 2017 12:19pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting shabirsaleem
Disliked
Could you please add Trading Time (9 am to 8 pm) to the bellow attached EA.
Ignored
You didn't explain whether you want the EA to shut down completely, or simply not place any new orders, or just avoid starting a new martingale sequence, outside of those times.

You could try adding some code like that highlighted in the screenshot below, which should stop it from placing ANY new orders before 09:00 hours or after 20:00 hours (that code is also added in the attached files).

That's just a rough guess after a quick look at the code. Sorry but I don't have time to familiarize myself completely with how the EA works (especially since the comments are in Russian!), make the changes, and then test it exhaustively. See post #591 for other possible options.
Attached Image (click to enlarge)
Click to Enlarge

Name: PPI 285.png
Size: 29 KB
Attached File(s)
File Type: mq4 angrybird_xscalpingn.mq4   21 KB | 254 downloads
File Type: ex4 angrybird_xscalpingn.ex4   12 KB | 185 downloads
 
1
  • Post #595
  • Quote
  • Apr 13, 2017 1:01pm Apr 13, 2017 1:01pm
  •  shabirsaleem
  • | Joined Sep 2016 | Status: Kill your emotions, when trading FX | 83 Posts
Thank you so much Hanover, it worked as I wanted. I appreciate you valuable support. Prayers for you. Be Always happy
 
 
  • Post #596
  • Quote
  • Apr 13, 2017 6:07pm Apr 13, 2017 6:07pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting shabirsaleem
Disliked
it worked as I wanted.
Ignored
Looks like I got lucky then.
Glad it worked for you.
 
 
  • Post #597
  • Quote
  • Apr 14, 2017 4:07am Apr 14, 2017 4:07am
  •  Mtinifx
  • Joined Feb 2011 | Status: Member | 6,018 Posts
Quoting hanover
Disliked
{quote} Looks like I got lucky then. Glad it worked for you.
Ignored
Hi Hanover

You are doing a little bit of coding help? If so please could you help with a major problem with this EA. It opens multiple trades on one bar if there is a violent move against the trend. It is supposed to hit stop loss and then not open any more trades but immediately opens a new trade on the same bar resulting in numerous losses (see image). Can you possibly stop it from doing this?

Thanks so much
J
Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDM15.png
Size: 14 KB
Attached File(s)
File Type: mq4 Price_Bounce_Off_MA_v.2e_mod.mq4   19 KB | 137 downloads
 
 
  • Post #598
  • Quote
  • Edited 4:22pm Apr 14, 2017 2:23pm | Edited 4:22pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting jmtini
Disliked
You are doing a little bit of coding help?
Ignored
Sorry, I'm unable to help. Stoploss is a MT4 facility, has nothing to do with EA (same thing would occur if you enter trade manually with stoploss). If a violent spike, the stoploss is probably not being honored by br0ker due to slippage. I assume that the EA is opening additional trades because the entry rules/conditions are still being met. Hence the EA would somehow need to be modified to check whether trades have been opened recently. You'd need to define things like "recently" and "violent spike" in math based terms if you wanted to code them. Or alternatively code something like execute the trading routine once only on the first tick of each new candle, and then live with whatever limitations that might impose. However, I'm too busy to attempt anything like this. Simplest solution in this case would be to manually shut the EA down during red news or other times a spike is likely.

[EDIT] In the properties section at the start of the EA, the programmer gives his e-mail address, and offers to help for free. Have you tried to contact him?
 
1
  • Post #599
  • Quote
  • Apr 14, 2017 4:19pm Apr 14, 2017 4:19pm
  •  siraj74
  • | Joined Jul 2014 | Status: Member | 92 Posts
Hello great coder,

I have indicator which alerts and put arrows on chart when Bollinger band is crossed. I need to add simple counter based on this Logic.

Win count = If Upper Bollinger band is crossed by the Green candle and the very next candle is PUT then it will add to win count, also if Lower Bollinger band is crossed by RED candle and the very next candle is Green then also it will add to win count. Else it will add to LOOSE COUNTER.

I have attached the mq4 file and image file for your reference.

Kind Regards,
Siraj
Attached Image (click to enlarge)
Click to Enlarge

Name: 1.jpg
Size: 113 KB
Attached File(s)
File Type: mq4 Bollinger cross.mq4   4 KB | 180 downloads
 
 
  • Post #600
  • Quote
  • Edited 6:41pm Apr 14, 2017 6:06pm | Edited 6:41pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Quoting siraj74
Disliked
I have indicator which alerts and put arrows on chart......
Ignored
I see that you've already asked for help elsewhere. There's no point in two programmers doing the same work.
And anyway, sorry, I don't have the time or stamina to provide a coding service for every FF member who has a problem with an indicator.
 
1
  • Platform Tech
  • /
  • Hanover replies to PMs
  • Reply to Thread
    • 1 2829Page 303132 72
    • 1 29Page 3031 72
1 member viewing:
Ohlca
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023