BUY FXO Forum Shares
1247
Shares in the BANK:
We BuyWe Sell
$2.1246$2.1903
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: 'Close all' scripts for MT4.

  1. #1
    In Profit
    Join Date
    May 2007
    Posts
    127
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool 'Close all' scripts for MT4.

    'Close all' scripts for MT4.
    Attached Files Attached Files

  2. #2
    Bullish
    Join Date
    Feb 2007
    Posts
    44
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by magedology View Post
    'Close all' scripts for MT4.
    Ooh

    thank you so much bro
    I really was searshing about something like that

  3. #3
    Director of FXOpen Aus FXOjafar's Avatar
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    3,482
    FXO Shares
    50
    FXO Bonus
    1.463
    Thanks
    2
    Thanked 79 Times in 52 Posts

    Default

    I don't know about the close all open position one for me, but the close all pending script will certainly help me as I almost always trade with limit/stop orders.
    Thanks Magedology.
    Jafar Calley - Director
    FXOpen AU Pty Ltd
    Level 26 • 1 Bligh Street
    Sydney NSW 2000
    Australia
    AFSL:412871 ABN:61 143 678 719
    http://www.fxopenaus.com

  4. #4
    In Profit
    Join Date
    May 2007
    Posts
    127
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by drsameh View Post
    Ooh

    thank you so much bro
    I really was searshing about something like that
    No thanks to duty

  5. #5
    In Profit
    Join Date
    Jun 2007
    Posts
    122
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Close all script isn`t something good, because not all trends can reverse in the same moment. Try using multiple close option, to close all of the positions in just one currency pair.

  6. #6
    Piplet
    Join Date
    Jul 2007
    Posts
    20
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank u very much indeed I think needed this thing very much.

  7. #7
    Intraday Master
    Join Date
    Jun 2007
    Location
    Cimahi
    Posts
    302
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    is there any way that an EA could call a script?anybody knows how to do this?or should i just combine the source?

    because i think that if i combine this script (magedology's) and any EA that is going to open many currency pairs.. (diversifications that is) would be a great thing for us.
    Visit 0.90 Pip Rebate Here
    Forex Rebates, Promotions, and $$$ BONUS!!
    Click Here!

  8. #8
    In Profit
    Join Date
    Jul 2007
    Posts
    205
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by yohanip View Post
    is there any way that an EA could call a script?anybody knows how to do this?or should i just combine the source?
    No. Just recode the script so that it becomes a function callable by the EA.
    Generally it means:
    1. Change init(), deinit(), start() from script to something else, say sInit(), sDeinit(), and sStart().
    2. Change other functions' name in the script so there is no conflict with functions in the EA
    3. Similarly for all global variables and defines in the script
    4. In EA's init() call sInit(), in deinit() call sDeinit(), and call sStart() where ever you want it.
    5. Lastly, don't forget to include the script file at the beginning of file EA (sth like #include blah-blah)

  9. #9
    Bullish
    Join Date
    Jun 2007
    Posts
    99
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i want this script,
    thank you .

  10. #10
    In Profit acidguy's Avatar
    Join Date
    Aug 2007
    Posts
    187
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is there a place or any useful link i can learn to program metatrader?

    i am a good programmer in real life so i could apply some of my knowledge here.

  11. #11
    Bullish
    Join Date
    Aug 2007
    Posts
    90
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    finally I find what I am searching for

    thanks

  12. #12
    Bullish
    Join Date
    Aug 2007
    Posts
    90
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    but how can I use it

    or how can I put it in my meta trader

  13. #13
    Bullish
    Join Date
    Aug 2007
    Posts
    95
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    a very useful script thnx

  14. #14
    Bullish manCatur's Avatar
    Join Date
    Mar 2007
    Posts
    60
    FXO Shares
    0
    FXO Bonus
    0.000
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by magedology View Post
    'Close all' scripts for MT4.
    How do I apply or install this script?..Cud u tell me step by step sir?....coz I'm new to meta platform.

  15. #15
    Bullish
    Join Date
    Mar 2011
    Posts
    31
    FXO Shares
    0
    FXO Bonus
    0.160
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Thanks broo

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Disclaimer
2005-2016 © FXOpen All rights reserved. Various trademarks held by their respective owners.

Risk Warning:: Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Clients should make an independent judgment as to whether trading is appropriate for them in the light of their financial condition, investment experience, risk tolerance and other factors.

FXOpen Markets Limited, a company duly registered in Nevis under the company No. C 42235. FXOpen is a member of The Financial Commission.

FXOpen AU Pty Ltd., a company authorised and regulated by the Australian Securities & Investments Commission (ASIC). AFSL 412871ABN 61 143 678 719.

FXOpen Ltd. a company registered in England and Wales under company number 07273392 and is authorised and regulated by the Financial Conduct Authority (previously, the Financial Services Authority) under FCA firm reference number 579202.

FXOpen does not provide services for United States residents.

Join us