0
(0)
ชื่อ:
Intraday EA
ผู้เขียน: smistretta (2011.07.15 15:15)
ดาวน์โหลดแล้ว: 14829
ดาวน์โหลด:
Intraday EA 1
Intradayv2.mq4 (9.8 Kb) ดู

I have written the attached EA. I do not have a coding background and have been learning MQL4 for the last 2 สัปดาห์.

I have managed to build the backbone of this EA using an MQL4 code builder which i then manually tweaked. I have run this on a back test but have not been having much success in getting the logic to enter and exit trades when I want them to execute.

I basically have derived from a bollinger band system the following, on a standard 20,2,2 indicator based on a 15min chart:

Where:

  • A single buy is when the price goes ด้านล่าง the band (20,2.4,2.4) and then the price retraces back to the (20,1,1) and the trade should take profit where also the SL can be manually set at say 100 เม็ด, but i'd like to test this with maybe 50 เม็ด.
  • A single sell is when the price goes ข้างบน the band (20,2.4,2.4) and then the price retraces back to the (20,1,1) and the trade should take profit where also the SL can be manually set at say 100 เม็ด, but i'd like to test this with maybe 50 เม็ด.

The question:

If you run the attached program you will find that sometimes the entry point in 1 bar in delay or more and sometimes the code misses the entry entirely.

Is there anyone out there that has more experience than me and can help me out with this very frustrating issue. I would really appreciate any feedback.

Many thanks

Steve

โพสต์นี้มีประโยชน์เพียงใด?

คลิกที่ดาวเพื่อให้คะแนน!

คะแนนเฉลี่ย 0 / 5. นับคะแนนเสียง: 0

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

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

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

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



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