Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

Toggleable Moving Average - indicateur pour MetaTrader 5

Copyright 2011, MetaQuotes Software Corp
Publié par:
Stefanus Wardoyo
Vues:
4960
Note:
(33)
Publié:
2022.02.20 02:07
Mise à jour:
2022.02.27 15:59
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

I search Moving Average that can be hide and shown with button, just like in Trading View, but I cannot found it.

Then I try to modify example of Moving Average code from MQL5 Metaeditor Help, and do some add for button and logic for toggleable the button to show or hide Moving Average.

Just like in Trading View.


For those who need this, please feel free to use or modify for your own requirement.


Press the button for Show / Hide MA as your preference.


Toggleable MA


    Simple Average Volumes Simple Average Volumes

    Calculates the average volume for EA

    Close All and Support Multi Curencies EA Close All and Support Multi Curencies EA

    Single Currency or Manual orders Closing or deleting sections are very easy to understand but if you have a question you leave it at comment section. The code check for Comment to detect the Orders to close or delete for multi currencies EA in case the input EAComment is empty It will close according to type of close. It supports prefix or suffix of EA Comment. Many options can be added if you are interested on developping it more you can leave your suggestion on comment section.

    Long and Short Stepped Grid Trade Long and Short Stepped Grid Trade

    Proportional grid distance, open long and short orders at the same time, skip two grids to take profit; When the equity recaches the take profit of setting, close all positions and restart.

    MA Grid Trade MA Grid Trade

    Around the moving average index to set grid.