Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GetCurrentAsk when opened position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GetCurrentAsk when opened position

    Hi,

    I print GetCurrentAsk() and GetCurrentBid() every bar in my strategy in order to check spread in currencies.

    I have just indicated that GetCurrentAsk = GetCurrentBid when I have opened position.

    Is this expected behavior?

    #2
    kucharek, I would not expect that to be seen - what broker and which pip settings under Tools > Options > Data do you use please?

    Comment


      #3
      Hi,

      I use MB Trading and TenthPip.

      Comment


        #4
        Thanks, so would you see the same if you check the Level 1 data window for your currency in the Control Center? Do you print them both exactly at the same time in your script?

        Comment


          #5
          How long does this condition last?

          1st print ? 10 prints? Or until position closes?

          Are you using market orders?

          Please post your print line.

          Comment


            #6
            Your questions gave me thinking again. My mistake - something like that happens when my strategy has yellow status, instead green.

            Thank you both for the support.

            Comment


              #7
              Thanks for reporting back and you're welcome.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by kinfxhk, 07-14-2026, 09:39 AM
              0 responses
              91 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 10:18 AM
              0 responses
              93 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 09:50 AM
              0 responses
              70 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 07:21 AM
              0 responses
              87 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-11-2026, 02:11 AM
              0 responses
              66 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Working...
              X