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
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...
Nicolas Non ça n'est pas encore possible.
Denis Merci Nicolas.
Yann LB Bonjour à tous, Est-il possible de rajouter un morceau de code qui permette d'afficher (s...
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
Dimi.A Perfect for counter-trend scalping. I like this!
viktorthuns Hi Nicolas! Great work you've done with all your indicators. Just wondering about the code a...
Nicolas the value is not a boolean but an average of an addition of booleans. As stated in the descr...
Nicolas
9 years ago
marc.schmid Dear Nicolas - your Multi Fractals ZigZag High/Low gives me quite good results - thanks for ...
Nicolas There must be a lot of screeners built upon this indicator in the forums. First I found is h...
marc.schmid Thanks a lot Nicolas!
Nicolas
9 years ago
Nicolas add it on price chart, change the cp parameter according to the period you want to observe f...
Robert22 hola buenos días: yo estoy buscando una cosa parecida para realizar con ello un indicador de...
Nicolas https://www.prorealcode.com/prorealtime-indicators/rsi-classical-hidden-divergences-indicator/
Nicolas En effet, j'ai déjà eu ce genre de retour sur cet indicateur, je t'avoue avoir eu du mal à c...
Lavallette Bonjour Nicolas. Je trouve cet indicateur intéressant et j'essaie de l'intégrer dans une st...
Nicolas Non tout est correct, mais je comprends que tu aies un doute. C'est la façon dont a été écri...
Nicolas Nice, thanks for sharing. How much profitability lookback do you have with this indicator mo...
Hans63 Well, I am a discretionary trader, so I don't trade all the signals given by a system or by ...
Nicolas ...and that's clever, thanks again for your feed back and your sharing.
Manu L. Et si je prends éventuellement celui-ci, comment puis je programmer le screener pour qu'il ...
Nicolas Pour des demandes personnalisées, merci d'utiliser le forum, en ouvrant un nouveau sujet tou...
Manu L. c fait :-) https://www.prorealcode.com/topic/pro-screeners-trend-reversal-continuation-pa...
Nicolas
10 years ago
Smoothed repulse
Smoothed repulse
2
Indicators
Altares Wow thank you!
bala01 If anyone is wanting it now for people like me then the following gives the same value as p...

Top