Results 1 to 4 of 4
 1 Attachment(s)    

Thread: How do i add an automatic lot size changer to my EA?

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    3

    Default How do i add an automatic lot size changer to my EA?

    i would liek to add a bit of script to my EA to automaticly adjust the lot size acording to the account balance. up or down?
    Attached Files Attached Files

  2. #2

    Default

    //Calculate trade size based on percent of capital to risk.
    double iTrade.Size = (AccountEquity() * Percent.Risk.Per.Trade / 100) / ((Ask-SL)/(Point * multi) * MarketInfo(Symbol(), MODE_TICKVALUE));
    Lots = iTrade.Size;
    Traders Used This Secret Trading Strategy To Bank 1,246,962$ At 2009!

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    3

    Default hi

    hi thanks, where would i paste that in the code mate?

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    3

    Default hi

    could some one add the code and try to get it to work?

Similar Threads

  1. Big or small lot size trade
    By Prowd1975 in forum Trading discussion
    Replies: 3
    Last Post: 08-13-2015, 04:04
  2. MasterMind3 Balance and lot size change.
    By Big Cheese in forum Ideas for expert advisors
    Replies: 8
    Last Post: 04-15-2011, 14:43
  3. Request For New EA Size Candle
    By Marco Tess in forum Ideas for expert advisors
    Replies: 1
    Last Post: 07-29-2010, 23:28
  4. Maximal lot size
    By mk77ch in forum MQL programming
    Replies: 0
    Last Post: 05-29-2009, 12:39
  5. EA (but not automatic)
    By inkuumba in forum Ideas for expert advisors
    Replies: 0
    Last Post: 03-07-2009, 17:06

Tags for this Thread

100, add, automatic

Posting Permissions

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