fxDreema

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

    philmorgan0382

    @philmorgan0382

    0
    Reputation
    107
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    philmorgan0382 Unfollow Follow

    Latest posts made by philmorgan0382

    • Time as a variable is odd

      hi all, i hope someone will know this...

      When using a "once per day" block. i learned you can set a double or int constant which is great. However...

      Because the range of optimization is decimal, tests are performed at some silly times like 10.82 for example. So instead of testing the 1440 minutes of real day, we have to test 2400 (from 0000 to 2399)

      This is fine in some circumstances since the result for 11.75 is the same as 12.15 (once we pass xx.59 the hour increases and the remaining 15 is added i suppose. But here is the odd thing...

      A time input such as 11.20 will actually happen at 11.02 in realtime.
      if we put 11.22 this will happen at 11.22 as expected.

      any time before 10.00 is very strangely dealt with too..

      01.01 to 01.99 all happen at 01.00 in realtime.

      please can someone explain how to express a time like 01.20 in this strange decimal format? i want to optimize all 1440 unique and real minutes of each day.

      many thanks in advance.

      posted in Questions & Answers time constants optimization
      P
      philmorgan0382
    • RE: Best time of day to trade testing

      Yes thats it! Fantastic!
      optimization with a range from 0 to 96 shows results for all from 0 to 23, the rest were no trades made. thankyou!!

      posted in Questions & Answers
      P
      philmorgan0382
    • Best time of day to trade testing

      Hi all,
      I want to set a test up where an existing EA i currently use which does all its work from a "once per bar" block will be changed for "once per day" at a particular hour.

      I know I can create a string variable to change the time before starting optimisation, but that doesn't allow a range to step through and find the optimum time.

      How can I make a variable for the "once per day" block which will give a list of all 24 hours that are selectable when starting the EA or optimisation?

      Many thanks in advance for any advice or help.

      posted in Questions & Answers variables time strings arrays
      P
      philmorgan0382