fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. FenixTrading
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 3
    • Topics 21
    • Posts 49
    • Best 5
    • Controversial 0
    • Groups 0

    Posts made by FenixTrading

    • RE: Miro1360, Please Help, Button informing the current profit. (Solved)

      I added a DoubleToString funcion in the button block.
      If you prefer less digit just change the last number from 2 to 1 or even 0.

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Miro1360, Please Help, Button informing the current profit. (Solved)

      @xyon126 You can try it by copy and paste the same code in MetaEditor.
      FxDreema should allow us to program also Indicators with the same system.

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Miro1360, Please Help, Button informing the current profit. (Solved)

      This version is actually working:
      https://fxdreema.com/shared/Ne8Z35hdd

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Miro1360, Please Help, Button informing the current profit. (Solved)

      Hi, try something like this:
      https://fxdreema.com/shared/fHVCdImHc

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Trade amount of money

      If you want to trade a certain amount of money, just use this money managment.
      0_1605513048904_5e4a8e5c-4f11-4d29-9f6d-78ec70e49aa2-image.png

      You can also set a variable and put it as Extern to control how much money to invest for each trade.

      posted in Questions & Answers
      F
      FenixTrading
    • ATR value to Pips - Tutorial

      Recently I was looking for a good solution to get always the ATR value in Pips without currency problem.

      So here is a useful tutorial for you:

      1. The first step is to create a new double Variable where we are going to store the result of our calculation.
        In my case, I used "ATRvalue"
        0_1604049773179_dc73fc57-b96c-4a7d-a6a7-0901e2c421c4-image.png

      2. Let's create the formula using 2 different formula blocks
        The formula to convert ATR value in Pips is really simple:
        ATRpips = ATR * 10000 ----> For any currency
        ATRpips = ATR * 100 ----> For JPY
        Just copy the image and use the double Variable to store our results.

      0_1604049096627_f39465ac-0aba-4ea2-b6c6-5884ba903a2a-image.png

      1. Now we need a block that helps the EA to chose which one formula to use, so the only thing I need to know is if we are trading a JPY pair.
        Since JPY is always the quote currency we need just one block:
        0_1604049486930_97b01740-3534-47ae-8df0-3604e2cad7d2-image.png

      The final results will be like this:
      On Tick
      0_1604049600134_0d5a03fa-f3eb-4063-b598-e899776695b8-image.png

      Upvote if you found helpful this tutorial and have a nice day.

      posted in Tutorials by Users
      F
      FenixTrading
    • RE: My EA kept Opening Too Many Trades.

      I use this to have only one trade. Turn off buy and sell blocks when trade is active, otherwise turn on buy and sell blocks.
      0_1601899564576_a1e09ea3-20c5-4bfa-8998-9b991602e20c-image.png

      posted in Questions & Answers
      F
      FenixTrading
    • RE: How to pop up alert when and arrow appears in MT4

      0_1601886831305_19f0e5c5-33ff-423f-92c5-3af6c01c90e1-image.png

      Try something like this

      posted in Questions & Answers
      F
      FenixTrading
    • How to show daily loss on screen?

      Hello guys i need to have the max daily loss on screen.
      I know there is the "Check Profit (Period Time)" block in Fxdreema but it's good only to Terminate the EA when max daily loss is reached, i prefer to check it in real time.

      posted in Questions & Answers
      F
      FenixTrading
    • change the color of a block using

      @uchiha can you share the solution with custom block?
      Thanks

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Show indicator value on chart

      First of all thanks for your answer.
      I'll be more specific. I actually tried but i'm missing something.
      I want to store the Bollinger Bands %B.
      I'm just starting to work with variables in FXdreema and i'm not skilled on this topic.

      Can you show me how to do this?

      posted in Questions & Answers
      F
      FenixTrading
    • Show indicator value on chart

      Hello everyone. What's the best way to show an indicator value on the chart?

      posted in Questions & Answers
      F
      FenixTrading
    • HOw to edit Global Extern Variables?

      Hello guys! Is possible to edit this section in FXDreema?
      Everytime i compile mql4 file i need to open and edit and turn this
      0_1593420041425_d18d5294-a4ae-45ba-8a39-6165df7c3556-image.png

      into this manually:
      0_1593420230403_c5440e74-cb45-4393-a959-93689e71106d-image.png

      Of course i have a text file with the Externs formatted. But is really annoying to do that everytime i modify my EA.

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Button that works on Strategy Tester

      @l-andorrà @StantonHitz i made a tutorial about it just now, check it out.

      https://fxdreema.com/forum/topic/9883/working-buttons-in-strategytester

      posted in Questions & Answers
      F
      FenixTrading
    • Working Buttons in StrategyTester

      Hello everyone, someone asked to me in a old post how i solved the Working Buttons problem in StrategyTester, so i decided to make a tutorial about it.

      1. Create buttons in onInit Section like this, name it as you want, I used "buy" as name.
        0_1592560694294_284e041b-b226-4ee4-a8af-a272362a7a5a-image.png

      2. Now we need a block that detect the Test Mode, so we insert "If Testing".

      3. After that we are going to select our object with the block "Select Object by Name", in the box write the same name of our button:
        0_1592561050389_5e569e97-ecef-4066-bbc1-57ac90c793bf-image.png

      4. The next step is to check when our button is pressed, so we will add the block "Check button state". If the button is pressed we want to Buy:
        0_1592561218573_328cffcf-991d-4cc5-bb45-520af33d9d56-image.png

      5. Since the MT4 buttons are like a switch, after we press this button it will stay pressed until we click again on it, this will involve in multiple Buy Market action in just a click. To avoid that, I fount another good solution.
        Just add this custom MQL code to reset the button state on "Not Pressed". So we will have only the buy market we want:

      0_1592561460570_08cdd7ae-1239-49ad-9dfc-55d23f12d947-image.png

      You don't need to edit this code, it will work with any button.

      I hope this tutorial will help a lot of you.
      Enjoy!

      posted in Tutorials by Users
      F
      FenixTrading
    • RE: Check if more conditions are true in the last "n" bars

      @l-andorrà i know that, i don't know what should i do in order to archive my goal.

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Check if more conditions are true in the last "n" bars

      @l-andorrà

      https://fxdreema.com/shared/fGD1mD4Cd

      This is the project actually. The indicator is red correctly by FXdreema I tested the buffers with "Status" one by one. I just want isolate those true events in "n" bars.

      posted in Questions & Answers
      F
      FenixTrading
    • RE: Check if more conditions are true in the last "n" bars

      First of all thanks for your answer.
      I have a custom indicator. This indicator has a Red Buffer if volatility increase and a blue buffer when volatility decrease under a certain level.

      In order to have a good entry pattern I need to check if initially, I have this Red Buffer and then the second blue buffer within a certain "n" of bars.

      posted in Questions & Answers
      F
      FenixTrading
    • Check if more conditions are true in the last "n" bars

      Is possible to check if more contitions are true in a period of "n" bars?

      It could be very useful to check and automate patterns using indicators.

      posted in Questions & Answers
      F
      FenixTrading
    • Only even numbers on lotsizing

      Hi everyone. Simple question:
      Is possible to force EA to place only even numbers on lotsizing?

      My pending order is 1% or 2% of Balance depending on stop loss, I need to keep this money management.
      Sometimes the calculations results in a odd number, so when the EA scales 50% of the total volume something goes wrong in the long term.

      posted in Questions & Answers
      F
      FenixTrading
    • 1
    • 2
    • 3
    • 2 / 3