0
(0)
Nomen:
Drive
Author: systrad5 (2006.09.08 14:46)
Rating: 11
Downloaded: 9216
Download:
Drive 1
_Drive.mq4 (2.3 Kb) Visum
Green above Red -> Up.

Red above Green -> Descende.

Periods that seem useful are 4, 16, 128.

Value is calculated as follows:

Up (Viridis) = ((Summus - Apertum) + (Close - low))/2, averaged for the selected period;

Descende (rubrum) = ((Apertum - low) + (Summus - Close))/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 comment Ut post novum comment, quaeso log in or * mandare

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(" + Depth + ")"; IndicatorShortName(short_name); SetIndexLabel(0, "DriveUp"); SetIndexLabel(1, "DriveDn"); //---- reditus(0); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int satus() { int i *, j; double UpCnt, DnCnt; si(Bars <= Depth + 10) reditus(0); //---- last counted bar will be recounted int counted_bars = IndicatorCounted(); int limit = Bars - counted_bars; si(counted_bars > 0) limit++; //---- Load prices into CBuffer[0] for*(i = 0; ego < limit; i++) { UpCnt = 0; DnCnt = 0; for*(j = 0; j < Depth; j++) { UpCnt = UpCnt + (Summus[i+j] - Apertum[i+j]) + (Close[i+j] - low[i+j]); DnCnt = DnCnt + (Apertum[i+j] - low[i+j]) + (Summus[i+j] - Close[i+j]); } UpBuffer[ego] = (UpCnt / (2 * Depth)) / Point; DownBuffer[ego] = (DnCnt / (2 * Depth)) / Point; } reditus(0); } //+------------------------------------------------------------------+

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..