@roar Thank you Roar.. it is working excellent!!! I very much appreciate your help.
Posts made by AlphaOmega
-
RE: MathSrand problemposted in Questions & Answers
-
RE: MathSrand problemposted in Questions & Answers
@roar ... Hi Roar, Please I need your help again.... there is another bug I am struggling with. The first order gives a strange TP value:

Where do I set this because I have tried modified the Sell block TP but it has no effect.. Thank you for your help in advance
https://fxdreema.com/shared/Aqlp07TYb -
RE: MathSrand problemposted in Questions & Answers
@roar You are the king!!! Thank you, it is working now.. Really appreciate your help!!!
-
RE: MathSrand problemposted in Questions & Answers
@roar I removed it.... it still not working.. I am really sorry to nag you like this, but I can never crack this without your help.
https://fxdreema.com/shared/t0TqvAGob -
RE: MathSrand problemposted in Questions & Answers
@roar .. I am sorry Roar ... It is not working.. maybe I did something wrong ... will you check please?
https://fxdreema.com/shared/gFP95nApc

-
RE: MathSrand problemposted in Questions & Answers
@roar ok .. I understand your logic... At the moment the average line is 0, so how to get plus say 10 pips more in profit with the Average line?
-
RE: MathSrand problemposted in Questions & Answers
@roar I will put it in a picture for better clarity because maybe I am expressing myself incorrectly. Please check the attached... Thanks in advance

-
RE: MathSrand problemposted in Questions & Answers
@roar Hallo Roar... when you have time please sort me out here... I am stuck. I want at least 15% in profit from average of all open price of trades .. How do I control it?
Attached is my last effort. Thank you in advance for your reply
https://fxdreema.com/shared/W3TcZf7he -
RE: MathSrand problemposted in Questions & Answers
@roar This formula seems to work but it would not give me the TP

-
RE: MathSrand problemposted in Questions & Answers
@roar I have also tried this formula... but it also gives some error.. so I do not understand how to do it..

-
RE: MathSrand problemposted in Questions & Answers
@roar Hallo Roar... thanks for replying... I want at least 15% in profit from average of all open price of trades .. How do I control it? Thank you in advance for your reply
-
RE: MathSrand problemposted in Questions & Answers
@biztet I am good! How are you my friend?... No I am running this on MT5 std account. The problem is definitely with the coding or the way I connected the blocks.. I am just to dumb to understand how to fix it. I do not think its a big problem. .. Mr Roar will sort it out I am dead sure!
-
RE: MathSrand problemposted in Questions & Answers
@roar .. Hi Roar.. Sorry to bother you again... I have changed the settings as I understand you said and it is working but the TP is very small, like in cents..lol.. I must be doing something wrong again. Also, if I try change the settings there is no TP for the first order and the TP does not modify to the average if the 2nd order is placed, it just stays at the first order"s average. I have attached some pictures for you. Please advice me again. Thank you in advance




-
RE: MathSrand problemposted in Questions & Answers
@roar Thanks so much for your speedy reply... let me do that .. I will come back with results... Thank you!!
-
RE: MathSrand problemposted in Questions & Answers
@roar .. Hi Mr Roar I need your input again please. The expert does it,s averaging job very well but I do not understand where the TP comes from and where to set it? I have tried to control the TP with the adjustment add-on but it does not work correctly. Thank you in advance.
-
RE: MathSrand problemposted in Questions & Answers
@roar Thanks for the reply..... Ok ... let me fight a bit with this and then will come back to you
-
RE: MathSrand problemposted in Questions & Answers
@roar Sorry to bother again ... I have changed the parameters as you said ... I still do not know how to get the first order to take a TP or SL? The TP and SL only kicks in if the 2nd order is taken. Thanks in advance.
https://fxdreema.com/shared/SScWMSFud

-
RE: MathSrand problemposted in Questions & Answers
@roar As always .. you are the best!!!! Thank you.
-
MathSrand problemposted in Questions & Answers
@roar MathSrand(GetTickCount());
Hi
If someone could give me a hand please... I started a new thread because the other one was old and the old topic does not really address the problem I have.Is there any other code except MathSrand(GetTickCount()); I can use to rectify the expert because every first order it takes is not part of count of the total lots. Or maybe setup of expert blocks is wrong?
This is my goal
If the conditions is met but price action still moves further away from 1st trade(parent) in a negative direction: another order must be taken -30 pips(first child trade) away from original entry and then -30pips away from 1st child trade, etc..... and the lot sizes must be exponentially added on an averaging basis of a +/-150% of previous negative lot size, on every new child order. For example: 0.01(parent), 0.02(1st child), 0.03(2nd child) etc, and the take profit must modify 25% above the average of all tradesMy effort:
https://fxdreema.com/shared/x5dk8lW9bRoar original code:
https://fxdreema.com/shared/ucZlZvYccThank you in advance