The “Nice Price” Forex Strategy”

The “Nice Price” Forex Strategy”

Here is a simple code that I was curious to test.

It applies on EUR/USD, H1 timeframe (other pairs / timeframes should be profitable).

We go LONG if :

ADX50 > 10

DI+(50) > DI-(50)

low of the candle < Bollinger20(down) and close > Bollinger20(up)

SL : 60 pips

TP : 10 pips

We go SHORT if we meet the opposite conditions.

So it’s a scalping strategy. Test and improve !

Best regards,


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?

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

  1. Andres • 07/28/2016 #

    Always a great job, Doc.
    Thanks again for sharing!

  2. Jesús • 07/28/2016 #

    Thank you for sharing strategy and code. Simple and effective. Good job.

  3. Doctrading • 07/28/2016 #


  4. Tom Hoo • 07/28/2016 #

    Hi has anyone been implementing this.
    can anyone share with me the performance of this scalping strategy  so far.
    been trying to find a scalping strategy

  5. JakeDB • 07/28/2016 #

     Hi Doc,
    Firstly, thanks alot for this code. I have applied it to EUR/USD 3min frame & from 1 September to 15/10/2016 great results so far. I increased TP to 15 & got slightly better results over the same period. 
    My only question when looking through the results, the max profit accross all trades both short & long was $750  . But the loss of worst trade was $3,000. 
    I am an absolute beginner so i am not sure what the reason behind this but any comments would be appreciated. 
    Cheers JB

  6. JakeDB • 07/28/2016 #

    Answered my own question….Sorry about this question. 5 positions, take profit at 15, loss of 60 = 3000 & 750. 
    You have certainly taught me a few things so thankyou!

  7. maxxb • 07/28/2016 #

    sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimizzati.. 
    non va male ma vorrei ottimizzare anche giorni e orari come posso fare?
    che codice devo scrivere ?
    resto in attesa grazie

  8. Manuel9z • 07/28/2016 #

    Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it works better. regards

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
scarphace38 Bonsoir, je découvre PRT et je n'arrive pas a afficher le meme résultat pour l'indicateur de...
Dom Hello, commence le trading et découvre par la même occasion le ce n...
Nicolas Merci, ça fait plaisir !
bertrandpinoy hello juanj, can you send the code repair by your good care to try scalping please?
rama what is the buy condition or sell condition for this can you suggest a code k1=1 buy and k1...
rama I would like to know at point 1 an alert or binary indicator so that I can place order
Theo D'accord merci
tobytarczy Hi, I have been looking for something like this. I have a f questions about the indicator. ...
tobytarczy Hi have been trying to modify the code you so kindly shared to reflect to the image you have...
fastsky Hi, only with CloturePartielle=0 I get a positive result. Just, for I can't add it to automa...
Marcus Quartus Aurius Hi thanks, it better work on timeframe 1H
Franro Marcus you run this?
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
darbes Nicolas Could you code in PRT from an MT4 code ? Best JC
darbes Nicolas How to convert this signal into a strategy pro ? Best JC
Tony87 can we have a update on this one please?
Nicolas Discussions with many other versions and improvements can be found here: https://www.proreal...
darbes Hi How does it go on live ? JC
FREDNC adx[14]>adxmin and adx[14] > adxr[14] and adx[14]>adxmin and adx[14] DIminus[3](clo...
Janfi Hello, I'm new to ProRealCode and I do not understand the following summation[n](indicator...
Kaci It seems he's just checking that the previous MACD is < 0 for maximum one period ? I'...
arnaudat Bonjour, je suis tombé sur cet indicateur par des recherches sur les écarts types et il me...
Nicolas Il y a peut-être une erreur de calcul causée par un division par zéro, j'ai retrouvé une aut...
arnaudat Merci nicolas, j'ai déjà pris cette version et en plus je suis sur les futures. Par contre d...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
grimweasel47 Ok thanks Nicolas - could this be adapted to take into account MFI and then have price, volu...
Nicolas I don't understand what you mean exactly, would be better to open a topic about this idea wi...
Nicolas Yes, that's how it goes when using loops..
JosephFelix Hi, Could I please have help with adding these indicators 'on price'? Every indicator that I...
Nicolas Just add it on price by clicking the wrench on the left upper side of the price chart.
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
Nicolas Please add a request on forums for any MT4 code conversion, thank you. Follow these easy ste...
mecon I will do so, thank you!
firemyst @mecon, did you ever get one?
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
Leo This is a 1 min strategy where the markets has been very oversell / overbought and this code...
bertrandpinoy hi Leo, are you still using thoses strategy right now?
crazytrader Any improvements of this?
David29 BONJOUR, Félicitations pour cet indicateur. Avez-vous une idée de comment créer une strat...
Nicolas Je pense que ça a déjà été codé quelque part sur le forum. Dans la négative merci d'ouvrir u...
GraHal @David29 ... did you ever find a Strategy based on above Indicator?
Jan Wind Hi Francesco, and where do you get the information of non trading months and non trading da...
Francesco78 Jan Wind, I obtain it from the backtest
Kris75 Hi Francesco, The results are totally different with the tickbytick mode; it becomes a losin...
2 years ago
ALE We can discuss about the strategy here:
graff.laetitia Hello, I'm sorry to bother you, I'm new to trading, I managed to download the indicator but ...
GraHal Is this the Discussion Topic you need @Gregg
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...