HA Turn

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

HA Turn

Postby DanPhi74 » Sun Nov 24, 2019 8:47 am

Hi Guys

Could you code this :
HAturn = 0

IF BarIndex = 0 THEN
XClose = TotalPrice
XOpen = (Open + Close) / 2
ELSE
XClose = TotalPrice
XOpen = (XOpen[1] + Xclose[1]) / 2
ENDIF

if xclose>xopen and xclose[1]<xopen[1] then
HAturn = 1
elsif xclose<xopen and xclose[1]>xopen[1] then
HAturn = -1
endif

return HAturn

in order to have attached screen ;
Attachments
HA turn.JPG
DanPhi74
 
Posts: 58
Joined: Tue Dec 22, 2015 4:47 am

Re: HA Turn

Postby Apprentice » Sun Nov 24, 2019 9:09 am

Your request is added to the development list.
Development reference 351.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23569
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: HA Turn

Postby Apprentice » Mon Nov 25, 2019 5:58 am

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23569
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 11 guests