How to use Trend Angle.lua in my strategy

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

How to use Trend Angle.lua in my strategy

Postby conjure » Sun Mar 18, 2018 11:03 am

Hi
I want to add the trend angle indicator in my strategy to get the angle results as a variable,
but i dont know how to do it.
Can someone give me an example?
Thank you
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am

Re: How to use Trend Angle.lua in my strategy

Postby Apprentice » Sun Mar 18, 2018 12:07 pm

Trend Angle.lua
viewtopic.php?f=17&t=60698
do not provide this info.
The angle is calculated within owner-drawn function.
And it will depend on the chart on which indicator is added.

I suppose we can use storagedb.get_db to store this value,
which can be later accessed from strategy.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 22 guests