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 (http://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!

WHRoeder:
  1. Don't hard code numbers
    // a = NormalizeDouble((PercentMM * AccountFreeMargin() / 100000), 1); // Valid IFF minlot and lotstep == 0.1
    //      ถ้า(ก > 49.9) return(49.9);
    //      else if(ก < 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;
           ถ้า (ก > maxLot) return(maxLot);
           ถ้า (ก < 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, เสนอราคา - StopLossPips * pips2dbl

ขอบคุณ.

  1. Don't hard code numbers
    // a = NormalizeDouble((PercentMM * AccountFreeMargin() / 100000), 1); // Valid IFF minlot and lotstep == 0.1
    //      ถ้า(ก > 49.9) return(49.9);
    //      else if(ก < 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;
           ถ้า (ก > maxLot) return(maxLot);
           ถ้า (ก < 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, เสนอราคา - 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

ยังไม่มีคะแนนโหวต! เป็นคนแรกที่ให้คะแนนโพสต์นี้.

ขออภัยที่โพสต์นี้ไม่มีประโยชน์สำหรับคุณ!

ให้เราปรับปรุงโพสต์นี้!

บอกเราว่าเราจะปรับปรุงโพสต์นี้ได้อย่างไร?



ผู้เขียน: ทีมงาน Forex Wiki
เราคือทีมผู้ซื้อขาย Forex ที่มีประสบการณ์สูง [2000-2023] ที่อุทิศตนเพื่อใช้ชีวิตในแบบของเรา. วัตถุประสงค์หลักของเราคือการได้รับอิสรภาพทางการเงินและอิสรภาพ, และเราได้ติดตามการศึกษาด้วยตนเองและได้รับประสบการณ์ที่กว้างขวางในตลาด Forex เพื่อเป็นหนทางในการบรรลุวิถีชีวิตที่ยั่งยืนด้วยตนเอง.