need MT4 indicator for my formula

#1
DEAR FRIENDS AND EXPERTS .. PLZ CODE ME FOR GIVEN FORMULA AND CONDITIONS ...

THANKS IN ADVANCE ...


---------------------------------------------------------------------------------------------------------------------------------------------------------

YESTERDAY OHLC = O1,H1,L1,C1
DAY BEFORE YESTERDAY OHLC = O2,H2,L2,C2

A=H2-O2
B=O2-L2

Q=(H1+H2)/2
R=(L1+L2)/2
S=(C1+C2)/2
T=(Q+R)/2
U=(Q-R)

BW=S+(U*55/100)
BH=BW+15
BS=S+(U*12.5)/100

KM=S-(U*35)/100
KN=KM-20
KS=S+(U*12.5)/100

GM=S+(U*15)/100
GT=GM+12
GS=S-(U*12.5)/100

ER=S-(U*60)/100
ES=ER-15
ET=S-(U*12.5)/100





IF A VALUE IS GREATER THAN B VALUE ( A > B ) THEN PLOT FOLLOWING LINES

PLOT BLUE LINE FOR BW

PLOT GREEN LINE FOR BH

PLOT BLACK LINE FOR BS ..

PLOT RED LINE FOR KM

PLOT PINK LINE FOR KN

PLOT GREY LINE FOR KS



IF A IS LESSER THAN or EQUAL TO B ( A<=B ) THEN PLOT FOLLOWING LINES

PLOT BLUE DOTED LINE FOR GM

PLOT GREEN DOTED LINE FOR GT

PLOT BLACK DOTED LINE FOR GS ..

PLOT RED DOTED LINE FOR ER

PLOT PINK DOTED LINE FOR ES

PLOT GREY DOTED LINE FOR ET
 

Similar threads

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?