Earn up to
$50000
for inviting friends
to get StartUp Bonus
from InstaForex
No investments required!
Start trading without
any investments and risks
WITH NEW STARTUP
BONUS 1000$
GET BONUS
55%
from InstaForex
on every deposit
  • Amazed
  • Amused
  • Angelic
  • Angry
  • Asleep
  • Bashul
  • Bitchy
  • Blah
  • Bored
  • Breezy
  • Brooding
  • Busy
  • Buzzed
  • Chatty
  • Cheeky
  • Cheerful
  • Cold
  • Confused
  • Cool
  • Crappy
  • Cynical
  • Daring
  • Dead
  • Devilish
  • Doh
  • Doubtful
  • Drunk
  • Fine
  • Flirty
  • Goofy
  • Grumpy
  • Happy
  • Hot
  • Hungover
  • Innocent
  • Inspired
  • In_Love
  • Lonely
  • Lurking
  • Mellow
  • Paranoid
  • Pensive
  • Psychedelic
  • Relaxed
  • Sad
  • Scared
  • Shocked
  • Sick
  • Sleepy
  • Sneaky
  • Stresses
  • Tired
  • Twisted
  • Worried
  • Yeehaw
  • Reply to Thread
    Results 1 to 2 of 2

    Thread: Code to close position when bar closes

    1. #1
      FX Vampire
      I am:
      Busy
       
      CratosFX is on a distinguished road CratosFX's Avatar
      Posts
      1,687
      Accumulated bonus
      207.80 USD (What is this?)
      Thanks
      18
      Thanked 27 Times in 26 Posts

      Default Code to close position when bar closes

      Hello,

      Could someone help me out with code to close open order when the bar closes. (MT4)

      Thanks in advance.

    2. <a href="http://www.mt5.com/forex_humor"> </a>
    3. #2
      FX Zombie
      I am:
      ----
       
      tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri is a splendid one to behold tahiri's Avatar
      Posts
      2,241
      Accumulated bonus
      627.07 USD (What is this?)
      caught pokemons
      2 (What is this?)
      Thanks
      0
      Thanked 822 Times in 388 Posts

      Default

      you can try the "script" below in the attach file, it can help you close all your buy/sell orders when you apply it, first you need to put the script on the folder ( mql4/script) and then attach it to your chart when you want to close your position.
      Attached Files

    4. The Following User Says Thank You to tahiri For This Useful Post:

      CratosFX (05-24-2017)

    Reply to Thread

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts