fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. AlphaOmega
    3. Posts
    • Profile
    • Following 5
    • Followers 16
    • Topics 46
    • Posts 565
    • Best 42
    • Controversial 2
    • Groups 0

    Posts made by AlphaOmega

    • RE: MathSrand problem

      @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

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @roar This formula seems to work but it would not give me the TP
      0_1614959134708_02010f40-21dd-489b-a047-54197c833647-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @roar I have also tried this formula... but it also gives some error.. so I do not understand how to do it..
      0_1614952108222_7fabec5b-1461-4eb4-9396-1c173195aede-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @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

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @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!

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @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

      0_1614937436632_3fcae188-e750-4f63-b686-fc13192b6a1a-image.png
      0_1614937484917_17a66b17-6483-4ebd-9c42-81369f410c79-image.png
      0_1614937548709_c787475b-36b9-40cb-a3d3-38a62fca1e98-image.png
      0_1614937588261_0cbdf246-1280-43b3-8e4b-ab745293006a-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @roar Thanks so much for your speedy reply... let me do that .. I will come back with results... Thank you!!

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @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.

      https://fxdreema.com/shared/qNM670Mtc

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @roar Thanks for the reply..... Ok ... let me fight a bit with this and then will come back to you

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @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
      0_1612809060913_5d281eda-c0fd-4e13-8242-2b7420a71ee7-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: MathSrand problem

      @roar As always .. you are the best!!!! Thank you.

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • MathSrand problem

      @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 trades

      My effort:
      https://fxdreema.com/shared/x5dk8lW9b

      Roar original code:
      https://fxdreema.com/shared/ucZlZvYcc

      Thank you in advance

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Tutorial 07 - Read prices from indicator objects

      Sorry bro ... cannot help you .. I am using MT5

      posted in Tutorials by Users
      AlphaOmega
      AlphaOmega
    • RE: Tutorial 07 - Read prices from indicator objects

      @umbrellamaker All the source coded products is in this post brother? Just go backwards and look for it.... easy as pie

      posted in Tutorials by Users
      AlphaOmega
      AlphaOmega
    • RE: Profit Math

      @josecortesllobat Thanks for the reply... Yes, you have a good memory... I will start from beginning:
      When indicator is in overbought or oversold I want to place order.. check simple expert example:
      https://fxdreema.com/shared/mdjTWpegb
      This is the indicator: 0_1606327536570_Stochastic MACD.mq5

      The next step,
      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 trades
      I hope you can understand this explanation.
      Thank you in advance

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Profit Math

      @josecortesllobat... Hallo Jose .. Thank you for taking the time to reply..

      Ok, This is what I want to basically achieve:
      I want to create an averaging expert where I can set the take profit on % above the average of all trades opened:
      Example: 0_1606152148687_973459a6-2c15-441a-9323-db54bcd9d7e8-image.png

      This is how I started with the algorithm from roar: https://fxdreema.com/shared/VeKz6Pg7d
      0_1606152307435_9d4bc96f-2ae0-4987-b2aa-5582975ec66f-image.png
      But this was a problem because it has a random lot size which Roar used for testing and I cannot use it.. So I changed it to fixed value
      0_1606154487564_95e09ae1-88bf-4e11-8d1a-335b549cbc78-image.png
      0_1606152265261_b2748646-ba8c-4c0b-b7d8-8a63515f8f4b-image.png

      I then started to take profit on object on chart but this also is a problem because the horizontal line must first modify to an average before the expert will input a TP
      0_1606154628003_d7b0c6d0-66aa-4d4d-9549-8a4f49d9adb1-image.png

      So now I am stuck! So please suggest a starting place where I can understand each step with your help
      greatly appreciated!

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Profit Math

      @josecortesllobat .. Thank you for replying.. I have tried that but no difference? If that purple line do not move it will not put the average TP. I think it has something to do with the Buy TP block. I have put a constant TP but that also does not work.
      0_1606059048720_0d5b13b9-b675-4021-9461-73f1f081a5b1-image.png
      Please explain the workings of the expert Jose.
      0_1606058832145_81183d68-9ea6-4070-b3c7-1eef438291ac-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: I'm trying to creat a simple trade manage EA

      @rubvil Cannot help you if you do not share the indicator, but it would go something like this. Insert buffer for buy

      0_1606038894165_a6760bef-26fb-42a4-930a-8d6d289bce7e-image.png

      posted in General Discussions
      AlphaOmega
      AlphaOmega
    • RE: Profit Math

      @roar
      @josecortesllobat

      Could you please explain how to rectify this problem: The expert takes 2 orders from the word go but with no TP. As soon as the Average horizontal line move the TP average appear. I still do not grasp the variables and constant settings, after numerous reading up on it... I want the TP set even if there is only one order. will much appreciate the help... Thank you
      https://fxdreema.com/shared/HcVkjCWVc
      0_1606024699012_3d74c68d-8e8e-417d-9ea0-0ac722f64f6b-image.png

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • RE: Martingale or Grid EA - Help

      This is a real great contribution to the Fxdreema noobs... Now we can all understand how this martingale works... Ons kan nou almal in ons eie taal beskryf wat ons nie verstaan nie en magies sal dit in die taal verander wat ons verstaan, wanneer ons dit lees. Great idea!

      posted in Questions & Answers
      AlphaOmega
      AlphaOmega
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 28
    • 29
    • 12 / 29