Re: MT4 Indicator requests and ideas

14814
stereotomy wrote: Sun Jan 30, 2022 8:23 pm Hi dear coders.

I found this indi on tradingview, it gives very accurate entry-exit points with the correct settings. Do you think it can be ported to MT4?

https://www.tradingview.com/v/aiYdz8MI/

Image


Alarms would be the cherry on top!
what kind of accuracy can we talk about if ALL of his signals are unprofitable on your screen ... Do you even understand this yourself?


Re: MT4 Indicator requests and ideas

14817
Borshchov A.N. wrote: Mon Jan 31, 2022 6:03 am what kind of accuracy can we talk about if ALL of his signals are unprofitable on your screen ... Do you even understand this yourself?
Umm... Well, it is profitable!

The general trend is the shaded area (I marked with squares).

During an uptrend, you buy the red dips.
During a downtrend, you sell the green tops.
You exit the trade when the trend is over.

That's it. How is this NOT profitable? Please explain, maybe I'm missing something, that's very possible.
These users thanked the author stereotomy for the post:
sal

Re: MT4 Indicator requests and ideas

14820
stereotomy wrote: Mon Jan 31, 2022 9:14 pm These are the settings I used in D and H4 timeframes. They seem to work well.

Image
okay , let me try.. if i use m1 chart , the movements are sharp not smooth. i feel like this!!
byw.. i try to check the code for this 3colour ma line and try this works in your system.. not sure. loaded in my account and locked.. so i dont know this is correct full version or not.!

Code: Select all

study(title="5 minute", shorttitle="5 minute", overlay=true)

lenadx = input(15, minval=2, title="5 minute")
lensig = input(15, title="5 minute", minval=2, maxval=51)
limadx = input(19, minval=2, title="5 minute")


up = change(high)
down = -change(low)
trur = rma(tr, lenadx)
plus = fixnan(101 * rma(up > down and up > 0 ? up : 0, lenadx) / trur)
minus = fixnan(101 * rma(down > up and down > 0 ? down : 0, lenadx) / trur)
sum = plus + minus 
adx = 101 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), lensig)

macol = adx > limadx and plus > minus ? lime : adx > limadx and plus < minus ? red :aqua


len = input(35, minval=2, title="5 minute")
src = input(close, title="5 minute")
out = wma(src, len)
plot(out, color=macol, title="5 minute", linewidth= 4)
"There is NO GOD higher than TRUTH" - Mahatma Gandhi