EA_PSar_002B_v1

0
(0)
姓名:
EA_PSar_002B_v1
作者: 基礎外匯 (2010.09.22 15:27)
已下載: 3520
下載:
EA_PSar_002B_v1 1
EA_PSar_002B_v1.mq4 (6.4 KB) 看法
EA_PSar_002B_v1 1 EA_PSar_002B_WHRoeder.mq4 (7.0 KB) 看法
 

EA_PSar_002B_v1 designed on the idea of the indicator Nik_PSAR_2B (網址://codebase.mql4.com/6934).

EA tested and optimized on FXDD’s MT4 trading platforms.

This is a sample version of the EA.

All active traders will be able to receive (with some conditions) a free full version of this EA ([email protected]).

EA_PSar_002B_v1 3

7 評論 發表新評論, 請 登錄 或者 登記

請, I will like to include a money management technique to my EA. The idea is to let only a fraction of your total margin be in use at any instant. 例如, you can use only 50% of account; 和 50% margin usage the EA risk only 50% of account in worst scenario. Any help as to how to generate this code and include it in my EA at http://www.mql4.com/users/brayt? You can find details of where this idea is applied at http://www.fxpromaker.com/advanced50.html. ANY HELP PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
06.10.2010 15:47 brayt

maxfor:
Nice work basis...

I built myself one on Nik_PSAR_2b as well using pending orders on EURUSD H1. I dubbed it "Craptacular" - my code is crappy but it had surprising results...

EA_PSar_002B_v1 4

I really like the concept of that indicator...

Great work on your interpretation.

最大限度.

 

Good work!

24.09.2010 17:45 基礎外匯

WHRoeder:
  1. Don't hard code numbers
    // a = NormalizeDouble((PercentMM * AccountFreeMargin() / 100000), 1); // Valid IFF minlot and lotstep == 0.1
    //      如果(A > 49.9) return(49.9);
    //      else if(A < 0.1)
    a = (PercentMM * AccountFreeMargin() / 100000),
    double LotStep = MarketInfo(象徵(), MODE_LOTSTEP),   //IBFX= 0.01
           maxLot  = MarketInfo(象徵(), MODE_MAXLOT ),   //IBFX=50.00
           minLot  = MarketInfo(象徵(), MODE_MINLOT );   //IBFX= 0.01
                                                           //Was IBFX= 0.10
    a =  MathFloor(a/LotStep)*LotStep;
           如果 (A > maxLot) return(maxLot);
           如果 (A < minLot)
    ...

  2. The EA should adjust SL/TP/ and slippage for 5 數字經紀人
    //++++ These are adjusted for 5 數字經紀人.
    double  pips2points,    // 滑移  3 pips    3=points    30=points
            pips2dbl;       // 止損 15 點數    0.0015      0.00150
    int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
    int init(){
        如果 (Digits == 5 || Digits == 3){    // Adjust for five (5) 數字經紀人.
                    pips2dbl    = Point*10; pips2points = 10;   Digits.pips = 1;
        } else {    pips2dbl    = Point;    pips2points =  1;   Digits.pips = 0; }
        // OrderSend(... Slippage.Pips * pips2points, Bid - StopLossPips * pips2dbl

Thank you.

24.09.2010 17:44 基礎外匯

  1. Don't hard code numbers
    // a = NormalizeDouble((PercentMM * AccountFreeMargin() / 100000), 1); // Valid IFF minlot and lotstep == 0.1
    //      如果(A > 49.9) return(49.9);
    //      else if(A < 0.1)
    a = (PercentMM * AccountFreeMargin() / 100000),
    double LotStep = MarketInfo(象徵(), MODE_LOTSTEP),   //IBFX= 0.01
           maxLot  = MarketInfo(象徵(), MODE_MAXLOT ),   //IBFX=50.00
           minLot  = MarketInfo(象徵(), MODE_MINLOT );   //IBFX= 0.01
                                                           //Was IBFX= 0.10
    a =  MathFloor(a/LotStep)*LotStep;
           如果 (A > maxLot) return(maxLot);
           如果 (A < minLot)
    ...

  2. The EA should adjust SL/TP/ and slippage for 5 數字經紀人
    //++++ These are adjusted for 5 數字經紀人.
    double  pips2points,    // 滑移  3 pips    3=points    30=points
            pips2dbl;       // 止損 15 點數    0.0015      0.00150
    int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
    int init(){
        如果 (Digits == 5 || Digits == 3){    // Adjust for five (5) 數字經紀人.
                    pips2dbl    = Point*10; pips2points = 10;   Digits.pips = 1;
        } else {    pips2dbl    = Point;    pips2points =  1;   Digits.pips = 0; }
        // OrderSend(... Slippage.Pips * pips2points, Bid - StopLossPips * pips2dbl
24.09.2010 17:14 WHRoeder

Hi Max, this looks great, could you post your EA here perhaps?

謝謝,

Andre

24.09.2010 13:07 Powerpack2008

Nice work basis...

I built myself one on Nik_PSAR_2b as well using pending orders on EURUSD H1. I dubbed it "Craptacular" - my code is crappy but it had surprising results...

EA_PSar_002B_v1 4

I really like the concept of that indicator...

Great work on your interpretation.

最大限度.

 

這篇文章有多有用?

點擊一顆星即可對其進行評分!

平均評分 0 / 5. 計票數: 0

目前還沒有投票! 成為第一個評價這篇文章的人.

很抱歉這篇文章對您沒有用!

讓我們改進這篇文章!

告訴我們如何改進這篇文章?



作者: 外匯維基團隊
我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.