Hello.
I downloaded the DeMarker from this link
https://www.prorealcode.com/prorealtime-indicators/demarker-indicator/
here the code:
1 2 3 4 5 6 7 8 |
//DeMarker Indicator period=14 up=max(0,high-high[1]) down=max(0,low[1]-low) ratio=100*average[period](up)/(average[period](up)+average[period](down)) return ratio as "DeMarker",20,80 |
and then I adapted the DeMarker “OnChart” in this way, you can see possible entry points for short and long positions in the Dax 4H as a reverse signal at extreme points.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
//DeMarker Indicator Extrem on Chart // graphic taken and little bit modified from PRC Scalping Indikator V3 PIP = 0.1*Pipsize ///ARROW DISTANCE LIN = 5 //LENGTH OF SEGMENT OF SUPPORT OR RESISTENCE RESISTENCE = 10*Pipsize //DISTANCE OF THE SEGMENT OF THE RESISTENCE SUPPORT = 10*Pipsize r =255 g=0 b=255 // variables dfault value L = 5 S = 95 period = 6 Tstart = 080000 Tend = 220000 // DeMark up=max(0,high-high[1]) down=max(0,low[1]-low) DeMark =100*average[period](up)/(average[period](up)+average[period](down)) // TimeWindows to show the graphic, IF time >=Tstart and time <=Tend Then If DeMark <L then DRAWARROWUP(barindex,LOW-PIP)coloured(r,g,b) DRAWSEGMENT(barindex,LOW-SUPPORT,barindex-LIN, LOW-SUPPORT )coloured(r,g,b) Endif If DeMark >S then DRAWARROWDOWN(barindex,HIGH+PIP)coloured(r,g,b) DRAWSEGMENT(barindex,HIGH+RESISTENCE,barindex-LIN, HIGH+RESISTENCE) coloured(r,g,b) endif ENDIF return |
until then
JohnScher
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Hello, it is impossible to import the file.Itf! The platform responds that the file is only available for one import !!! Thank you
Oh … problem .. i don´t why, could you ask Nicolas? He’s much more familiar with PRT than I am.
I changed the file, now it is all good.
Thank you! Nicolas!
looks interesting.
can you say something about the variables?
(L = 5
S = 95)
are those on the H4 optimized?
which would you recommend for M5 and M30?