LastManStanding Swing indicator

LastManStanding Swing indicator

This indicator is about Dow’s theory, it detects the highs and lows of a trend to clearly identify trends or periods when the market is in range.
It has major points (based on a long-term calculation) and minor points (calculated on a short term). These periods are of course adjustable, it also includes a moving average of type and adjustable period to match your style of ‘swing trader’.

Converted from an MQL4 code, by a request in the Italian trading indicator’s forum.


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. swapping • 11/14/2017 #

    Merci Nicolas, voila encore un bon indicateur visuel pour les tendances…

  2. Genotik • 11/14/2017 #

    Un Indicateur bien pratique à intégré dans sa stratégie, Thanks ! 🙂

  3. DaxRider • 11/14/2017 #

    Thanks Nicolas
    Nice Job

  4. klaus • 11/14/2017 #

    Hi Nicolas,
    this indicator is repainting, is it?

    • Nicolas • 11/14/2017 #

      There’s no repainting indicator in prorealtime. But this one plots the points afterwards of course. There’s always a delay to be sure a higher high is really one!

  5. HerveS_67 • 11/14/2017 #

    Attention, regardez bien la construction du code !!!
    Les points bleu s’affichent entre barindex-1 & barindex-10
    Les points violet s’affichent entre barindex-1 & barindex-26
    Donc décalage…

  6. wintreb • 11/14/2017 #

    Un outil très visuel et utile

  7. darbes • 11/14/2017 #

    Hi Nicolas
    How could I use the indicator in a strategy ? Coding do not recognize the indicator.

    • Nicolas • 11/14/2017 #

      What do you want to do exactly? Because dots are plotted afterwards..

  8. rama • 11/14/2017 #

    I want to place buy or sell order just after the last man , what is the code to use ? i tried to place buy or sell instead of drawtext it is not working

    • Nicolas • 11/14/2017 #

      But it should, please open a new specific topic in the ProOrder automatic trading forum.

  9. Jean-Claude REGIS • 11/14/2017 #

    Quel est le retard d’affichage des points mineurs et majeurs ?
    Merci de votre rep Cordialement

    • Nicolas • 11/14/2017 #

      Désolé, je ne comprends pas la question 🙂

  10. tjrp_fr • 11/14/2017 #

    Très intéressant, merci !

  11. niroy2000 • 11/14/2017 #

    Please help the above is not working for me

    • Nicolas • 11/14/2017 #

      what is not working please? attach the indicator on your price chart and it should work correctly.

  12. Admiral • 11/14/2017 #

    Do the dots appear on the candle close or after a certain amount of candles?

    • Nicolas • 11/14/2017 #

      Yes that’s right, they are painted backwards.

  13. Louloute • 11/14/2017 #

    Bonjour Nicolas,
    Je ne comprends pas bien la fonction des 2 lignes ci-dessous, pourriez-vous m’expliquer brièvement ?
    Pourquoi ne pas partir avec les valeurs des premières chandelles ?

  14. claudiofred • 252 days ago #

    Bonjour Nicolas,
    merci encore pour ce super indicateur. se demander s’il est possible d’écrire un screener basé sur cet indicateur.
    merci beaucoup.

    • Nicolas • 252 days ago #

      Screener déjà présent sur le forum ici:

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+13 more likes

Related users ' posts
1 year ago
ipbvba Quelqu'un a t il pu créer un screener pour cet indicateur, cela serait très utile. Merci bea...
Nicolas Je pense que le code ci-dessous doit fonctionner pour un screener: //PRC_Wick Pressure | i...
Nicolas la dernière ligne doit être: screener[signal>0 or signal<0](signal)
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
goldenfish67 Hi guys just copied the code but I keep getting an error message: "Line 15 one of the fo...
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...
idunnomuch IS this working in the latest version of prorealtime? I get the indicator, but not over my c...
bernardmorel egalement apparait en dessous du graphique mais vide
bernardmorel Bonjour est t il possible de remettre en ligne the strat car il y a une indication qui d...
Manu L. Bonjour Nicolas, j'ai créé un screener avec l'aide à la prog en TF weekly mais je voudrai...
wtangsiri C'est exactement le même signal que donne le croisement et le décroisement de deux EMA (7 et...
PHAN100 bonjour, j'ai un bug sur le programme recopié prorealtime me dit qu'il y a un problème à ...
PHAN100 bonjour, bravo à l'auteur pour cet indicateur visuel sur le graphique, il nous reste à va...
Fabian Hi Thomas, thanks for your explanations. Which indicator do you use in the screenshot ...
Thomas Thats On Balance Volume and Bollinger or SMA or what you want. It shows me the volume flow. ...
bertrandpinoy @MAKSIDE I would be grateful if you send me your version. have a nice day
yeoreum Thank you very much for the screener, it reminds me on Minervini VCP. How to change th...
reecet any codes like this but in minutes and hours rather than days?
PHAN100 bonjour, je viens de tester ce screener, je constate une ne renvoie pas l'e...
Oxxoz Re bonjour Vivien, Il me smeble que 3 mois, c'est 60 séances. Cordialement,
Vinks_o_7 thanks ...and It can be used on a monthly and weekly basis by changing just the duration in ...
nicko Many Thanks Viv. It looks good
Nokis Bonjour Vivien, Comment je peux faire pour adapter ton code afin: De cibler les sociétés q...
sam00075 I tried it today and it gave great results. So a big Thanks !
jimkn0pf Christopher, wie saehe denn die Formel ohne Kontrollkerze (3. Kerze) aus?
Bard Hi @Vonasi, this is an excellent tool! I noticed you times by 180 and was wondering why? W...
Bard I have no idea what is wrong with the posting on this website. I have problems editing posts...
Bard And now my first post displays okay? It literally had copies of my orig post all added toget...
carpentier Joffrey Bonjour à tous, Avant tout merci pour ce travail, cependant je suis bloqué quand je l'insta...
carpentier Joffrey Re, C'est ok, j'ai trouvé mon erreur... Cependant sur quel base peut on calculer son CALC...
Aragorna Hi Nicolas, How is it possible to use it in a higher timeframe plotted on a lower timeframe?...
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
Dritan Hi Philippo,thanks for sharing this code.Can You add please Volume more than 250.00?Thanks
Vonasi I can't add any images here now that the library post has been listed. Perhaps you could sta...
Vinks_o_7 Thanks again Vonasi !
Bard Thank you, this is a great tool @Vonasi, especially for those that used to like shorting Ind...
jiddan78 how to convert to afl amibroker ?
Nicolas We do not supply free coding assistance for AFL Amibroker on the website. You can ask for pa...
Ngomsi @ Vonasi, how to use timeframe , 13 minutes ,21 minutes, 34 minutes,et 55 minutes with this...
sycomore Ça ne fonctionne sur aucune valeur, je dois être trop con...
Nicolas il faut appliquer l'indicateur sur le prix.
AntoGH Je crains de ne pas comprendre... Cela indique la probabilité de la prochaine bougie ou donn...
4 years ago
Ciccio New version
Ciccio New version 2.0 on the original Forum thread
Vonasi Yes that was the issue. I have posted an updated ITF file here:
crolakstrading @vonasi Thank you for fixing the issue! This is a great indicator.
gregoire good evening vonasi , I had made the request to create this indicator a few years ago and I ...