0
(0)
ชื่อ:
Drive
ผู้เขียน: systrad5 (2006.09.08 14:46)
คะแนน: 11
ดาวน์โหลดแล้ว: 9216
ดาวน์โหลด:
Drive 1
_Drive.mq4 (2.3 Kb) ดู
Green above Red -> ขึ้น.

Red above Green -> ลง.

Periods that seem useful are 4, 16, 128.

Value is calculated as follows:

ขึ้น (สีเขียว) = ((สูง - เปิด) + (ปิด - ต่ำ))/2, averaged for the selected period;

ลง (สีแดง) = ((เปิด - ต่ำ) + (สูง - ปิด))/2, averaged for the selected period.

Drive 2

This may have another name or be similar to an existing indicator. I've made up the name drive. Please drop me an email if you've run into a similar indicator before - [email protected]

2 ความคิดเห็น หากต้องการโพสต์ความคิดเห็นใหม่, โปรด เข้าสู่ระบบ หรือ ลงทะเบียน

I like it. On EURUSD 1H, it's giving better exit signals than my current indicators.
16.07.2011 08:30 maj1es2tic

#property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Green #property indicator_color2 Red //---- input parameters extern int Depth = 16; //---- buffers double UpBuffer[]; double DownBuffer[]; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int init() { //---- additional buffers SetIndexStyle(0, DRAW_LINE); SetIndexBuffer(0, UpBuffer); SetIndexStyle(1, DRAW_LINE); SetIndexBuffer(1, DownBuffer); //---- name for DataWindow and indicator subwindow label string short_name = "Drive(" + ความลึก + ")"; IndicatorShortName(short_name); SetIndexLabel(0, "DriveUp"); SetIndexLabel(1, "DriveDn"); //---- return(0); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int start() { int i, เจ; double UpCnt, DnCnt; ถ้า(บาร์ <= Depth + 10) return(0); //---- last counted bar will be recounted int counted_bars = IndicatorCounted(); int limit = Bars - counted_bars; ถ้า(counted_bars > 0) limit++; //---- Load prices into CBuffer[0] สำหรับ(i = 0; ฉัน < ขีด จำกัด; ฉัน ++) { UpCnt = 0; DnCnt = 0; สำหรับ(j = 0; เจ < ความลึก; j++) { UpCnt = UpCnt + (สูง[i+j] - เปิด[i+j]) + (คหรือ[i+j] - ต่ำ[i+j]); DnCnt = DnCnt + (เปิด[i+j] - ต่ำ[i+j]) + (สูง[i+j] - ปิด[i+j]); } UpBuffer[ฉัน] = (UpCnt / (2 * ความลึก)) / จุด; DownBuffer[ฉัน] = (DnCnt / (2 * ความลึก)) / จุด; } return(0); } //+------------------------------------------------------------------+

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

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

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

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

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

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

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



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