Forex Entry Point Indicator (no repaint)

Forex Entry Point Indicator (no repaint)

This indicator is  a conversion for ProRealTime of the “Forex Entry Points Indicator” for mt4.

The original version of this indicator repaints, which means that as new quotes appear, the indicator modifies the recent signals it gave. As a result, the signals on historical data are much more relevant that the signals you get in real-time.

This version for ProRealTime is improved as it does not repaint.

This is the code for version v10.2 and below. You need to add the indicator below the price and set it in histogram.
V10.2 code :

This is the code for version v10.3 and above. You need to add the indicator directly to the price chart.
V10.3 code :

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. algotrader • 06/09/2016 #

    HiI have done some little fine tuning and I’m running this as live trading on the SA40 index (South Africa)Getting positive results!! ;)However, I don’t use a stop loss or anything a like.Just an exit/take profit, with “set target pProfit 22”Gain: 1188, Win: 22 Loss: 2 My question is, how come the system closing a trade if there is no code for it?What/Why its happening?—– Code —–
    DEFPARAM CumulateOrders = false //True
    IF time >= 072900 and time <= 113000 THEN

    Once periodK = 21
    Once periodD = 12
    Once smoothing = 14
    Once highZone = 76
    Once lowZone = 24

    stochK = Stochastic[periodK,smoothing](Close)
    stochD = SmoothedStochastic[periodD,smoothing](Close)

    if stochK<stochD and stochK[1]>stochD[1] and stochK<lowZone and stochK[1]<lowZone then
    buy 2 contract at market
    endif

    if stochK>stochD and stochK[1]<stochD[1] and stochK>highZone and stochK[1]>highZone then
    sellshort 2 contract at market
    Endif

    set target pprofit 22

    ENDIF

    Thank you,A.

    • Nicolas • 06/09/2016 #

      Because new short positions initiated by your conditions close current long ones and vice-versa.

  2. algotrader • 06/09/2016 #

    I mean, the system is closing a trade at a loss where there is no code for it?

  3. algotrader • 06/09/2016 #

    Hello NicollasI see.. that means I need to use a “Force Open” codeAnd/Or change the “
    DEFPARAM CumulateOrders = false to True..Right?
     

    • Nicolas • 06/09/2016 #

      No, cumulateorders is only there to allow cumulating orders of the same kind (buy or sell). In ProOrder, it’s not possible to have buy and sell orders at the same time, you’ll need to make 2 different strategies if you want to allow this.

  4. algotrader • 06/09/2016 #

    Thank you.

  5. gordontan • 06/09/2016 #

    HI ADMIN, can you do me a favor ??i hope that you can post the ex4 or mq4 file version of this non repaint indicator. because i dont know how to attach your codes into my mt4..can you help ,please…i am interested in this indicator as it is NON REPAINT INDICATOR AS YOU MENTIONED.. PLEASE HELP..

  6. sagittario75 • 06/09/2016 #

    Good morning,
    You might have a change to this code so that you change the time settings directly from the program screen?
    thank you

  7. sandfred • 06/09/2016 #

    can this indicator be both converted into .mq4. i couldnt use it as .itf

    • Nicolas • 06/09/2016 #

      For any customized code, you can ask the programming services: https://www.prorealcode.com/trading-programming-services/

avatar
Register or

Likes

avatar
Related users ' posts
supertiti
9 years ago
Murray math levels
Murray math levels
2
Indicators
MonopolyTm Hello, Do you think it is possible to code something similar to the example in the following...
robertogozzi Why HAUT and BAS have been calculated AFTER line 8? Shouldn't they be calculated BEFORE lin...
zilliq Be careful, It works only if you are in daily timeframe, and on your graphic you are on hou...
DerPat I guess you are right, like always. If you change n to 24 you have at least the hours of a d...
gabri DerPat, you can also change line1 to read as follow to adapt this script to hourly timefram...
supertiti
9 years ago
Nicolas
9 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
Pere
9 years ago
Low-High Bands
Low-High Bands
5
Indicators
supertiti Hola Petrus Estas aficionado de vino para tener este mote ? El canal de donchian es la bas...
Petrus Hombre, no te diré que no me guste el vino, y en especial éste, pero aún me faltan muchos tr...
Petrus Saludos desde Barcelona!
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Conte Caimano
9 years ago
Butterworth Filter
Butterworth Filter
7
Indicators
Nicolas Do I need to change the code accordingly to your formula?
StefanoCG ciao Fabio ... non hai mica tutti i torti ... la notte bisognerebbe dormire per non scrivere...
Nicolas
9 years ago
Nicolas You will find the VWAP code from PRT here: https://www.prorealcode.com/topic/is-there-any-wo...
keks Thanks for sharing this wonderful code. Is there a way to draw a horizontal line to plot pre...
taklause Hello, just one question, can it be that this indicator does not work on ProRealTime v12? T...
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
Nicolas
9 years ago
Williams Percent %R
Williams Percent %R
4
Indicators
Nicolas Thank you but no sorry. Still have some trouble with the comments system. I will fix it soon.
Manuel Cerbi Come posso modificare il codice in modo da poter cambiare a piacimento il numero di periodi?...
Geronima Ortiz period = 14 a posto di 14 scrivi np poi crei una variabile con lo stesso nome
roos Hi Nicolas, another really helpful bit of code, thank you! Can I ask how you might amend so ...
Denis Good evening Nicolas, could you tell me where thae arrows on the chart come from ? I don't s...
Nicolas there is no arrow in this indicator.
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...
Nicolas
9 years ago
Suzu Yuk Hello, I am still getting the same error even after removing the // in front of the “myPe...
carlvan J'ai la même erreur. Pourtant ABS donne par définition un nombre positif
Nicolas Essayons de remplacer la ligne 27 par: averageperiod=max(round(averageperiod),2)
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
proreal82 Testing it out, and sorry guys but this indicator is ridiculous. Don't use it!
rama I have tested this indicator , this is one of the best indicator for scalping , I tested on ...
Regan2020 Hi Rama, I am using the indicator now, but it doesn't seem to form live time, and only indic...

Top