Attachments forums

List of attachments posted on this forum.


All files on forums: 160914

Re: Coding Help

Syllyon, Fri Jul 17, 2020 10:02 am

Hello everyone,

I'm new coding Custom Indicators, I coded this days ago, it's kind of simple.
It's funtion is to display the High and Lows of different Timeframes (Daily, Weekly, Monthly and Yearly)

But I can't make it work the way I want, i'm trying to figure out how to:
- Displaying only the input specified on each time TF
- Drawing the lines as TrendLines (with Right-Ray) from when it got the High/Low price (Not as Horizontal lines as I coded)
- Calculating the past Years High/Low's
- Deleting the lines that shares the same price, keeping the higher timeframe one
- And finally, a datetime option for the indicator to calculate past Timeframes H/L from that specific Day.

Hope is not too much to ask, been researching on how to do it myself but no luck. Any coding tips is apreciated.

-Syllyon
All files in topic