• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 3:07am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:07am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft
  • Search Forex Factory
Posts by Member
Website
Forum Posts
News Posts
Posts by Member
    Advanced Search Options
    Post Types (all, none)
    Websites (all, none)
    Post Attachments (all, none)
    Sort Results By
    Back to Basic Search
    • 17 Results (3 Threads , 14 Replies )
    • jenglish replied Dec 27, 2006

      It works — Okay, it is working now. I didn't make any changes to the code. I just closed all open trades and orders. Thanks for your help.

      Code for Buy Limits?
    • jenglish replied Dec 27, 2006

      No error message — There isn't an error message listed. All I did was change this working code: int totalPO = OrdersTotal(); for(int loop=0;loop < totalPO ; loop++ ){ if(!OrderSelect(loop,SELECT_BY_POS)){ Print("Error selecting order : ...

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      almost there — I got it to work with 1 pair but it won't place the buylimit for the second pair. Any ideas? I have each pair assigned to a variable.

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      thank you. I'll let you know if I can get it to work

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      Maybe not — I'm not a programmer, but if I see an example I can figure it out. Could you give me a complete example of how to use OrderSelect() followed by OrderOpenPrice() based on the scenerio we have been following? I know other variables ...

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      I think I got it now. Thank you very much for your responses!

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      I'll try to be more clear — Not take profit. If I am going long and the trade is going against me, I want to enter a buylimit to add to my position. I would be hedging with a different pair to lower risk and close all trades and pending orders ...

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      sorry — That is correct, sorry I wasn't clear. I am trying to figure out how to set an EA to enter a trade and at the same time or shortly after, set a buylimit based on the price it originally entered. I hope that clears up the confusion.

      Code for Buy Limits?
    • jenglish replied Dec 20, 2006

      Thank you for your reply. What I wanted to do was set up the buylimit to enter based a percentage or a factor of the entry price. If the entry worked out to be 1.2500 I would want to divide that by 1.008 to get the buylimit entry price of 1.2401 if ...

      Code for Buy Limits?
    • Code for Buy Limits?
      Started Dec 20, 2006|Platform Tech|21 replies

      I am trying to set buy limits based on a percentage of the entry price. Does anybody know the code ...

    • How to enter external variables?
      Started Dec 4, 2006|Platform Tech|1 reply

      Is it possible to have a box pop up when the EA loads that will ask for a value? For example, if I ...

    • jenglish replied Nov 30, 2006

      Got it — I got now. Thanks

      Close trades at a certain percent positive
    • jenglish replied Nov 30, 2006

      oops — yes that was a mistake I meant 3% for $30. I seem to be having trouble with it. It will close one pair when the account equity reaches 3%, but it will not close all trades. I have attached the EA to one chart and to all the charts, but ...

      Close trades at a certain percent positive
    • jenglish replied Nov 28, 2006

      I moved total=OrdersTotal(); down under the start and it isn't giving me any warnings so I will start testing this out to see if I put it together right. Thank you for the quick replies

      Close trades at a certain percent positive
    • jenglish replied Nov 28, 2006

      Warning — int total, cnt; total=OrdersTotal(); I get a warning 'total' - expression on global scope not allowed. I put it just as it is above. Do I need to do anything else?

      Close trades at a certain percent positive
    • jenglish replied Nov 28, 2006

      Thank you — Thank you very much! I'll look forward to that other code

      Close trades at a certain percent positive
    • Close trades at a certain percent positive
      Started Nov 28, 2006|Platform Tech|12 replies

      Hello, Is it possible to create an EA that will close all trades and pending orders when the profit ...

    • Posts by Member Search: 'jenglish'
    Top of Page
    • Facebook
    • Twitter
    About FF
    • Mission
    • Products
    • User Guide
    • Media Kit
    • Blog
    • Contact
    FF Products
    • Forums
    • Trades
    • Calendar
    • News
    • Market
    • Brokers
    • Trade Explorer
    FF Website
    • Homepage
    • Search
    • Members
    • Report a Bug
    Follow FF
    • Facebook
    • Twitter

    FF Sister Sites:

    • Metals Mine
    • Energy EXCH
    • Crypto Craft

    Forex Factory® is a brand of Fair Economy, Inc.

    Terms of Service / ©2023