Re: Coding Help
201Dear mntiwana can you please help in coding the no of pips from signal to signal came ( last signal pips ) on the present signal above with nos like 20 ,15 100 if loss means - 20,-15,100 on all signals please
Hi mladen please can this be given a buy sell alert please helpmladen wrote: Wed Apr 26, 2017 4:27 pm Cheepeys
That is a zigzag based indicator - maybe you can try with some of those
1. about "hard code" - if we take the strict definition of it, it is not (you can change the important parameters : stop loss, take profit, and indicators parameters)mntiwana wrote: Sat Apr 29, 2017 2:00 am Dearest Experts
Here is an EA that one of our member posted today,i have few questions regarding that as for learning purpose
1 : if the ea is hard coded
2 : what means for "#property strict" - if and when some values from ea property changed if it will not be work ?
3 : i did inactive "#propertty strict" - then it produce errors
4 : which one lines/part of code belongs to "#property strict"
regards
belonging indicators are attached too.
Dearest MLADENmladen wrote: Sat Apr 29, 2017 3:18 am 1. about "hard code" - if we take the strict definition of it, it is not (you can change the important parameters : stop loss, take profit, and indicators parameters)
2. about strict - according to mq strict is "Compiler directive for strict compilation mode" - some of the rules that must be applied in strict mode are not the same when you don't use that mode and vice versa
3. that is because of the point 2.
4. not some specific line - they all do belong to the compiler switching to strict compilation mode
The thing is simple :mntiwana wrote: Sat Apr 29, 2017 3:34 am Dearest MLADEN
So much thanks for detailed explanations,what i understand,ea is not hard coded and "#property strict" belongs to only compilation not to ea/indicator functional behavior - so the ea was not working with the guy because of some of parameters/features were not properly applied/adjusted
regards
Dearest MLADENmladen wrote: Sat Apr 29, 2017 3:41 am The thing is simple :
- there is no code that would prevent that EA to work on live account
- usually when it works on back testing and does not work on a live, the issue is in prices (or slippage) - some brokers demand that the slippage can not be 0, and stop loss and take profit values must be checked in live trading (which are usually ignored in back testing)
But all that can be found out if the user opens the journal and experts tab and see hat kind of an error did he get from the broker side
If you mean fixed maximal an minimal value for a sub-window, as far as I know, there is no way to know that dynamicallyNewton51 wrote: Sun Apr 30, 2017 10:27 am I don't see how I can edit/update my earlier query.
The problem I am trying to solve is associated with the MT4 auto-scaling.
Since posting the above, I have manually entered the scale maximum and scale minimum and get the result I am trying to measure. So my question is simply .... Is there a way to automatically capture the scale max and scale min values showing on the right side of the sub-window so I can avoid the need to periodically review/update changes in values?
Users browsing this forum: No registered users and 6 guests