Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
 4 Attachment(s)    

Thread: Nameless EA

  1. #11
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funyoo,

    Please let me simplify (excuse my poor English):

    First entry (When EA starts to trade):

    -Go long if current price is greater than close of 10th bar ago.
    (our stop loss is permanent for this entry and it's the close of that 10th bar, our TP is configured in EA parameters with a trailing stop)

    --Go short if current price is less than close of 10th bar ago.
    (our stop loss is permanent for this entry and it's the close of that 10th bar, our TP is configured in EA parameters with a trailing stop)


    If stopped (when Long or Short), use same logic (loop) within the next bar.

    That's it!
    Hi Lordvader,

    Ok, it works like that.

    Quote Originally Posted by Lordvader View Post
    BTW: if we use negative xbarsago, what would be the logic?


    Best regards,

    Lordvader
    It will not work as a negative xbarsago is a future bar that doesn't exist.

  2. #12

    Default

    Quote Originally Posted by funyoo View Post
    Hi Lordvader,

    Ok, it works like that.



    It will not work as a negative xbarsago is a future bar that doesn't exist.

    Ok Funyoo,

    Thank you. Could you set the previous simplified rules to the EA?

    Regards,

    LV

  3. #13
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Ok Funyoo,

    Thank you. Could you set the previous simplified rules to the EA?

    Regards,

    LV
    Set nextentryrule on false.
    Attached Files Attached Files

Tags for this Thread

elite, eur, eur/usd, forex, funyoo, how to, stop, stoploss, strategy, time, trailing, usd

Posting Permissions

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