Results 1 to 3 of 3
 6 Attachment(s)    

Thread: Forex vision

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    Default Forex vision

    Hi funyoo,

    Thanks for your good job.

    Here are my Ea based ilan.
    I seek to have a "smart TrailingStop"

    - It is activated automatically when it detects that the trade in court and positive and it turns off when it is negative

    I would also like for the system of martingale option if possible of course that after a too big down there ca reverse logic that passes sell or buy to recover the loss of trade of the martingale.
    possible or not?
    Sorry for my bad english

    Here EA :
    Attached Files Attached Files
    Last edited by secatrix; 12-21-2009 at 17:52.

  2. #2
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    Default

    New version.

    add:
    - filtre ffcall news

    extern string note03 = "#### NewsFilter ####";
    extern bool NewsFilter = True;
    extern int MinutesBeforeNews = 10;
    extern int MinutesAfterNews = 25;
    extern string FFCal_settings="----------------------------------------------------------------------";
    extern bool IncludeHigh = true;
    extern bool IncludeMedium = true;
    extern bool IncludeLow = false;
    extern bool IncludeSpeaks = true;
    extern bool ReportAllForUSD = false;

    -ReverseSystem

    your own idea and improve on are welcome.
    Attached Files Attached Files

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

    Default

    Quote Originally Posted by secatrix View Post
    Hi funyoo,

    Thanks for your good job.

    Here are my Ea based ilan.
    I seek to have a "smart TrailingStop"

    - It is activated automatically when it detects that the trade in court and positive and it turns off when it is negative

    I would also like for the system of martingale option if possible of course that after a too big down there ca reverse logic that passes sell or buy to recover the loss of trade of the martingale.
    possible or not?
    Sorry for my bad english

    Here EA :
    Hi secatrix,

    I don't understand the smart trailingstop concept.

    For the martingale losses, you can count the buy and sell profit and if it is over a certain loss, you only enable buy/sell or reverse the buy/sell signals.

    With something like that :

    Code:
    buyprofit=0;
    sellprofit=0;
    if(OrdersTotal()>0){
          for(i=0;i<=OrdersTotal();i++){
             OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
             if(OrderSymbol()==Symbol() && OrderMagicNumber()==magic && OrderCloseTime()==0){
                if(OrderType()==OP_BUY){
                   buyprofit=buyprofit+OrderProfit();
                }
                if(OrderType()==OP_SELL){
                   sellprofit=sellprofit+OrderProfit();
                }
             }
          }
       }
    Code:
    if(buyprofit>=-1*maxloss)onlysell=true;
    if(sellprofit>=-1*maxloss)onlybuy=true;

Similar Threads

  1. Replies: 0
    Last Post: 08-05-2015, 05:05
  2. Free Forex Trading Strategies Daily from Asia Forex Mentor
    By asiaforexmentor in forum Trading discussion
    Replies: 5
    Last Post: 02-22-2011, 11:38
  3. A different vision on martingale
    By I-R3d in forum Ideas for expert advisors
    Replies: 3
    Last Post: 07-21-2010, 15:04

Tags for this Thread

forex, funyoo, ilan, martingale, profit, signals, system, trailingstop

Posting Permissions

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