Attachments forums

List of attachments posted on this forum.

All files on forums: 108641

Re: Coding Help

Csj179t, Sun Aug 16, 2020 10:24 am

Csj179t wrote:
Sun Aug 16, 2020 9:29 am
hasan.tahir wrote:
Sun Aug 16, 2020 8:40 am
Tested the Indicator.. There is a small issue. Since the scale for the indicator is not fixed, defining a fixed extreme values for Buy and Sell will result in plenty of false signals.. Please see attached image.. Ideally the signal should be generated where the arrow is pointing.. Is there a way to identify extreme values some other way?

I can only make it that way. Set desire extreme levels , and when indicator would be crossing that level it draws one arrow per bar.

And the thing is you don’t know what the extreme point would be next . For example , imagine current bar indicator is at it’s highest value “Extreme level” or even higher, next bar is more extremier than previous , new extreme level... and so on... and you don’t know when it would fix an new highest level and then reverse towards low extreme level. On the way to low extreme it could even reverse back to making new high extremes ... you could only check history and based on that set desired extreme levels, as I’m thinking.

On the screenshot extreme levels set to 0.5 -0.5


I added a filter.. moving average. Maybe now it would be closer to what you searching for.
And now original indicator line is green and ma is red.
Arrows shows if indicator is over or under or equals the extreme level and if over or under ma on every bar while conditions are true.

p.s. There is a lot of real cool indicators out here maybe you could find something else. Or someone else could help you on that!

Best wishes!!!

(3.71 KiB) Downloaded 274 times
All files in topic