fxDreema

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

    chicrala

    @chicrala

    1
    Reputation
    255
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    chicrala Unfollow Follow

    Best posts made by chicrala

    • RE: 3rd candle of the day

      Thanks to all "helpers"! I appreciated a lot!

      To get the 3rd candle I did that bellow and it worked fine! Considering I am working at M15 timeframe.

      Using "Every n bars" object with Bars Count equals to 3, from 09:00 to 09:40, the first occurrency will be the 3rd candle.

      ... once again, thanks a lot!!

      0_1586794451125_Get3rdCandle.JPG

      posted in Questions & Answers
      C
      chicrala

    Latest posts made by chicrala

    • RE: Http request to localhost for testing

      Yes, there is. Just use 127.0.0.1:YourPort/api/endpoint/parameter and it will work nicely.

      I just answered to help anyone who may have the same problem, ok?

      Thanks to all!

      posted in Questions & Answers
      C
      chicrala
    • Http request to localhost for testing

      Hi,

      Does anybody knows if there is a way to send http requests to localhost or 127.0.0.1 for testing an API before use a web host? I am using metatrader and today I tried to do a test but it was no good.

      Thanks!

      posted in Questions & Answers
      C
      chicrala
    • RE: 3rd candle of the day

      Thanks to all "helpers"! I appreciated a lot!

      To get the 3rd candle I did that bellow and it worked fine! Considering I am working at M15 timeframe.

      Using "Every n bars" object with Bars Count equals to 3, from 09:00 to 09:40, the first occurrency will be the 3rd candle.

      ... once again, thanks a lot!!

      0_1586794451125_Get3rdCandle.JPG

      posted in Questions & Answers
      C
      chicrala
    • RE: 3rd candle of the day

      Nice answer! I got the idea and I think that is an answer!... but, is there a way to do that using the candle id?

      I am using the M15 timeframe and day here starts at 09:00 AM.

      posted in Questions & Answers
      C
      chicrala
    • 3rd candle of the day

      Hi, how can I identify that "this is the 3rd candle of the day" to start an action (buy for example)?

      posted in Questions & Answers
      C
      chicrala
    • RE: Check HTTP request for string part

      @sebabahn I think that could help you. Try to find the string and get the result... https://www.mql5.com/en/docs/strings/stringfind

      search for "[is_license_valid] =>". Something like this:

      StringFind(
      YOURstring, // string in which search is made
      "[is_license_valid] =>", // what you want to find
      0 // from what position search starts
      );

      ... and then you can use a StringSubstr to extract the result. Not so elegant but, considering the mql language limitations...

      StringSubstr(
      YOURstring, // string
      start_pos, // position to start with from your code above (StringFind)
      length=-1 // length of extracted string considering "[is_license_valid] =>" length
      );

      posted in Questions & Answers
      C
      chicrala