fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. migen
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 1
    • Topics 33
    • Posts 67
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by migen

    • RE: How to find Highest / Lowest in a period (eg. 2 days, 3 days..)

      I have just find out - Market Properties / Highest Price (Candles Period) in Condition block.

      posted in Questions & Answers
      M
      migen
    • How to find Highest / Lowest in a period (eg. 2 days, 3 days..)

      I need to find Highest and Lowest price in a period, example : Highest / Lowest in 2 days, 3 days... and put it in a variable to do comparison in Condition block.

      Example Highest and Lowest in 2 Days
      Put Highest in H2 variable
      Put Lowest in L2 variable

      But I still don't find how to do that, do you have any suggestions ?

      posted in Questions & Answers
      M
      migen
    • RE: How to write condition OR with "darker condition block"

      @roar Thanks!

      I have another question : If I want to count how many conditions are valid (I'm using variable to count), how to write conditions separately in "darker condition block" ?

      With example above:

      "D1 > D11 or D1 = 7" ; "D2 > D22 or D2=7" ; "D3 > D33 or D3=7"

      I just need to remove && symbol, is it right ?
      (D1 > D11 || D1 == 7) (D2 > D22 || D2==7) (D3 > D33 || D3==7)

      posted in Questions & Answers
      M
      migen
    • How to write condition OR with "darker condition block"

      My condition is: example - there are 6 variables D1 D2 D3 -- D11 D22 D33

      "D1 > D11 or D1 = 7" and "D2 > D22 or D2=7" and "D3 > D33 or D3=7"

      How to write these condition correctly in "darker condition block" ?

      posted in Questions & Answers
      M
      migen
    • RE: Display current profit/ close profit (money) of EA

      I have just found out how to display profit of the running EA

      0_1590043129718_1.jpg

      posted in Questions & Answers
      M
      migen
    • RE: Display current profit/ close profit (money) of EA

      @seb-0 said in Display current profit/ close profit (money) of EA:

      @migen
      You can backtest it, however the results of tests will always be different from reality, you can't be 100% sure that an EA will be profitable in the future.
      Further going, you can check @roar tutorial : https://fxdreema.com/forum/topic/9406/tutorial-test-eas-like-a-pro/11

      Maybe I'm not good at writing English. What I want is displaying info (running profit/closed profit by this EA - by unique magic number) on the Chart - such as comment block there are Trade Statics "Gross Profit" - however, I don't know how to display it on the chart correctly.

      If it's possible, I want it only calculate the trades - recognized by unique magic number - that opened & closed by the EA (there are some EAs running in the terminal - running live trade - I want each EA displays it's Gross Profit so I know how each EA earn or not, instead of having to run EAs on different MT4 terminals )

      posted in Questions & Answers
      M
      migen
    • Display current profit/ close profit (money) of EA

      I intend to run some EAs in one MT4 terminal. However, I want to know if the EA earns or not.

      How to display running profit / closed profit of the EA ?

      posted in Questions & Answers
      M
      migen
    • How to set condition - 5 Variables values equal 7

      I have 5 Variables - example V1, V2, V3, V4, V5.

      I want to create a condition : V1=V2=V3=V4=V5=7 , then buy

      How to do to set up this condition ?

      Any suggestions are welcome.

      posted in Questions & Answers
      M
      migen
    • RE: How to replace Variables (auto set/replace Variable) to compare (Condition block) ?

      0_1588785763606_Untitled.jpg
      here is example project.
      I have some EUR Conditions (day 1) then get result - Variable "EUR_1"
      Same with day 2 ... day 15.

      then, if
      Variable EUR_1>0
      ...
      Variable EUR_15>0

      get result with Variable EUR.

      My question : how to replace Variable EUR_1 with EUR_2... EUR_15 in Condition block EUR_1>0 ? So I just need 1 block without 15 blocks (for 15 days)

      posted in Questions & Answers
      M
      migen
    • How to replace Variables (auto set/replace Variable) to compare (Condition block) ?

      I see there are - Set "current market" for next blocks / Set "current timeline" for next blocks - to auto replace symbol and timeline in next blocks for comparing values with less codes.

      My question : is there anyway to "Set Variable for next blocks" ?
      Because I have 15 Variables (different values), it needs 15 group of blocks to compare them. While it just need 1 group of blocks with "auto set/replace Variable" to complete coding.

      posted in Questions & Answers
      M
      migen
    • RE: How to create exotic pair price such as XAUGBP ?

      With MT4, it needs some codes to do calculation. And to build my EA, it needs a lot of codes to complete this EA (exotic pairs).

      I just found out that I can create custom instrument such as XAGGBP with MT5, it is easier because I can have chart with the custom symbol.
      0_1588530611493_Untitled.jpg
      Here is instructions for who need it : https://www.metatrader5.com/en/terminal/help/trading_advanced/custom_instruments

      posted in Questions & Answers
      M
      migen
    • RE: How to create exotic pair price such as XAUGBP ?

      It seems I found it after searching forum.

      Using formula block to do calculation.

      posted in Questions & Answers
      M
      migen
    • How to create exotic pair price such as XAUGBP ?

      I intend to compare prices of exotic pairs, however, my broker ICmarkets doesn't has enough exotic pairs.

      Example : XAUGBP
      Simply, I just has to do calculation in EA:
      XAUUSD : GBPUSD = XAUGBP

      How to do that calculation ?

      Any suggestions are welcome.

      posted in Questions & Answers
      M
      migen
    • How to set group number for a group of block ?

      My big EA has many blocks. I want each of groups works independently by setting group number. However, there are a lot of blocks.
      My question : is there anyway to set a group number for a group of block without entering number into each block (time-consuming task) ?

      posted in Questions & Answers
      M
      migen
    • Condition - Recalculate with the price at the time of all orders are closed

      Always there is ups and downs in price. Sometimes it's up (profit) and then it's down, therefore I have to wait for the up price again.

      Example:
      I run an multi-currenies EA,

      1. it opens 3 orders after calculation :
        Buy EURUSD
        Buy GBPUSD
        Sell GBPJPY

      2. I set the profit targer for the account is $50. The profit of the account reach $50 and it closed all open trades.

      3. Then the EA uses the prices at the time of the trades were closed (at target profit - $50)

      Question : How to set the EA uses the prices at the time of the trades were closed or when it reaches target profit $50 - to recalculate for the new trades ? Example with EURUSD pair ?

      Any suggestions are welcome.

      posted in Questions & Answers
      M
      migen
    • RE: Multiple EAs - how to place only 1 Buy or Sell of 1 symbol - or how to delete duplicate trades

      Thanks ! I have just builded the EA - close duplicate buy/sell of any symbol (here is all of symbols -28 pairs).
      0_1585325438862_buy sell close.jpg

      posted in Questions & Answers
      M
      migen
    • Multiple EAs - how to place only 1 Buy or Sell of 1 symbol - or how to delete duplicate trades

      I run multiple EAs (with diffrent inputs - It's too big to combine all EAs in one). I set that EA only open trade if there is no trade (Buy/Sell) for each symbol. However, maybe because of EA's acting too fast (5-10 EAs running at the same time), sometimes there are duplicate trade such as 2 Buy EURUSD.

      Example : open trades:
      2 Buy EURUSD
      1 Sell EURUSD

      How to delete 1 Buy EURUSD because of duplication ?

      I think there are solutions :

      1. Combine all EA's input in one EA. However, it's too big to create one EA like that.
      2. Set EA running one after another (not running same time, like the second EA runs after the first EA finished). Is there anyway to set like that ?
      3. Create another EA to delete duplicate trades. How to build this EA ?

      Any suggestions are welcome.

      posted in Questions & Answers
      M
      migen
    • RE: How to run blocks in order

      Thanks @fxdreema
      I have just done some changes, it seems works well, it takes some times to check.

      Here are my changes : blocks numbers and and Run Blocks.
      0_1561648901074_5.jpg
      0_1561648910804_6.jpg

      posted in Questions & Answers
      M
      migen
    • How to run blocks in order

      Hi there,

      I have some problem because EA should work :

      • Using variables to calculate strength of currency
      • Open or Close orders

      But when the EA is calculating the strength of each currency, there is some delays , and it sometimes open before finished completed (results).

      I can use time filter to put these blocks run one after one.
      However, is there any other suggestion to run these blocks in order ?

        1. Run and finish calculation of strength of each currency.
        1. Open order if condition is valid.
        1. Close order if other condition is valid.

      0_1561643859530_1.jpg
      0_1561645100772_2.jpg
      0_1561645109254_3.jpg

      I use Run Blocks, however, it seems while Ea is calculating, the EA also open&close in same time.
      0_1561645174577_4.jpg

      Any suggestions ?

      posted in Questions & Answers
      M
      migen
    • EA calculates wrong results with JPY pairs charts

      Hi @fxDreema

      I created EA to run on 28 pairs to measure strength of the currency.

      There is something wrong that I can't find out the reason why.

      Attached the EA to GBP, EUR,... charts (except related JPY pairs charts), I got same results.

      Attached the EA to related JPY pairs, I got different results.

      Sample EA.
      https://fxdreema.com/shared/CL5q9EDye

      0_1548496336576_bug.jpg
      It's really strange

      posted in Questions & Answers
      M
      migen
    • 1
    • 2
    • 3
    • 4
    • 2 / 4