fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. oliverhinrichs
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    oliverhinrichs

    @oliverhinrichs

    0
    Reputation
    207
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    oliverhinrichs Unfollow Follow

    Latest posts made by oliverhinrichs

    • RE: Description or constant.

      The way you have made it will only give you the possebility to change the color of your specific object an this option would be added automatic In your settings without the possibility to move this setting in the order or to assign it to other objects.
      If you want to manage your settings by order or want to adress your setting to multiple Objekts you need to define your own constant but here is also a problem. You cann only define a datatype int to use color. If you define as exable ClrRed it will be interpreted als a Number 255. In your Settings you will only see this number und you can only change this number with an other number to define an other color.

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Transfering EA Panel from mq4 to mq5

      @l-andorrà

      Yes 😕

      I will post it, if i found the Error/Solution...

      But thankyou for your help 🙂

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Transfering EA Panel from mq4 to mq5

      @l-andorrà Yes Sir 🙂

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Transfering EA Panel from mq4 to mq5

      Update!

      I tried my expert on a Demo account and i get the errormessage that my expert tried to place an order with 0 lots.

      So i think the whole think with these input fields seems to be not working on MT5.

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Transfering EA Panel from mq4 to mq5

      @q8carpenter

      Hi Carpenter!

      I changed the variables from double to int and ich changed the input field values from numeric to text code input to get numbers without .0
      but it still don´t work.

      0_1617347900775_1.PNG

      When I click into the input field i can see that the startvalue is highlighted blue and flickers which I think could be the reason that the metatrader 5
      walks thru this field on every tick.
      But when I change the value of the input field the field is empty and the metatrader use only the startvalues.
      0_1617348425597_2.PNG
      I have no idea how to fix this 😕

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Transfering EA Panel from mq4 to mq5

      @l-andorrà Thankyou 🙂

      posted in Questions & Answers
      O
      oliverhinrichs
    • Transfering EA Panel from mq4 to mq5

      Hi!

      I made an expert adviser for the mt4.
      There I made a input panel to adjust ordervalues and everything works.

      0_1616800116730_mq4 panel.PNG

      After copy and paste the panel to mq5 the values changed from numbers to numbers.0 (Example from 20 to 20.0)
      0_1616800396848_mq5 panel.PNG
      and if I want to change the values the field shows nothing and my adviser don´t recognize the new values.
      It looks like that at stoploss :
      0_1616800514649_mq5 panel2.PNG

      As i have done it at mq4 I placed the field at the on init section with a startvalue in specific properties, gave it the same name as my variable.
      0_1616800916123_mq5 panel3.PNG
      In tick section it looks like that :
      0_1616801220880_mq5 panel4.PNG

      As I said....it works at mq4 but not at mq5.

      Does anyone have a solution ?

      1. I think the change of the field startvalues from a number like 10 to 10.0 could be the definition as a numeric value.
        If I would change this to text code input it should be fixed.....
        Or would this be wrong?

      2. The start values of the drawn fields are successfully transfered into the variable, but every change of the values
        won´t be transfered and the field is empty and don´t show the new value...... all trades use only the start values .
        Maybe the fields don´t have to be placed into the on Init section at mq5 ?

      I hope someone can help to fix this problem.

      By the way.....I think it would be good to make a seperate forum for mq5 to have a better overview an because
      mq4 and mq5 often needs different solutions.

      Thanks
      Oliver from Germany

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Re-Initialize after settings change

      @mantadiver Hi!

      Yes you are right.....it is a problem.
      Especially if you have objects at event init where you want to change the font size thru constants.
      I´m currently working with a button which starts "run block", but it would be much better if it would work automatically on change.

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: How can I get ea to trade buy /sell zones and lines that I manually draw on the charts?

      @pippusher618

      Hi pippusher!

      I think you can solve your problem when you just place your line and give it individual name like buy/sell/close
      and if you want to place more than 1 line for buy and sell then give the lines names like buy1 / buy2 etc.

      Then just take in the tick-area the modul select Object by name an 2 conditions for cross up or down to buy or sell
      like shown in the pic.0_1609240238170_pic.JPG

      and conect it to buy/sell/close modul.

      The stoploss and the takeprofit maybe could be defined the same way in the buy or sell modul itself or you define the close funktion (stoploss or takeprofit) the same way like the pic, but make shure you gave ever buy or sell order a specific group number if you want more than 1 order so that your stoploss or taktprofit lines only close the wanted orders.

      For example : Draw line with name buy3 / create select Object Name:buy3 then conditions / then buy-modul give it Group no. 3

      then draw line takeprofit or stoploss with Name: takeprofit3 or stoploss3 / then conditions / connect to the modul close trades filter by Group no. 3

      I think this should work for you...

      bye
      Oliver from Germany

      posted in Questions & Answers
      O
      oliverhinrichs
    • RE: Can't close trade manually

      @ttu22 place a button in the init section that you can switch on/off your EA

      posted in Questions & Answers
      O
      oliverhinrichs