Re-structuring of codes for indicator

MQL5 Göstergeler Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 2 saat
Geliştirici tarafından geri bildirim
Nice customer, fast communication, good description of requirement specifications. I look forward to working with you again.
Müşteri tarafından geri bildirim
Fast and efficient !

İş Gereklilikleri

Current indicator draws ONE line either on the open or close of the candle whenever an inside bar is detected. Kindly finish reading on the below to really get a basic understanding on the requirement. Kindly note that all the codes are already in place, it is just to re-structure it such that it is optimized/slight change of display.

The current structure goes like this:

IF inside bar is detected:

IF inside bar is a BULL candle:

IF top wick is shorter than bottom wick:

DRAW RED line on close of inside bar

VALIDATION check

ELSE (if top wick is longer than bottom wick)

DRAW Blue line on open of inside bar

VALIDATION check

IF inside bar is a BEAR candle:

IF top wick is shorter than bottom wick:

DRAW red line on open of inside bar

VALIDATION check

ELSE (if longer)

DRAW blue line on close of inside bar

VALIDATION check

IF inside bar is a neutral candle where open = close

etc etc. This part shall remain unchanged thus not required to mention in details


I would like to revamp the structure to let it behave in this way:


IF inside bar is detected:

IF inside bar is a BULL candle:

IF top wick is shorter than bottom wick:

DRAW RED line on close of inside bar

DRAW Blue line on open of inside bar

VALIDATION check

IF top wick = bottom wick:

DRAW LIME line on open AND close of inside bar

VALIDATION check


IF inside bar is a BEAR candle:

IF top wick is shorter than bottom wick:

DRAW red line on open of inside bar

DRAW blue line on close of inside bar

VALIDATION check

IF top wick = bottom wick:

DRAW lime line on open AND close of inside bar

VALIDATION check

IF inside bar is a neutral candle: (where open = close. "doji" )

IF top wick is shorter than bottom wick:

DRAW red line on either open/close of inside bar

ELSE

DRAW blue line on either open/close if inside bar

VALIDATION check


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(250)
Projeler
313
28%
Arabuluculuk
33
27% / 64%
Süresi dolmuş
10
3%
Serbest
2
Geliştirici 2
Derecelendirme
(19)
Projeler
22
23%
Arabuluculuk
5
40% / 60%
Süresi dolmuş
2
9%
Çalışıyor

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 1 to 2 gün