Hi guys,
I'm at lost here actually because I have this nice script that I use for trading. It's nice because it has an MM function to it.
The only problem is, I'm using M5 TF, but uses the value of M30 or H1 ATR, so I have to calculate the difference between M5 and M30/H1 ATR value. As we all know, we need to be quick in an M5 TF, so sometimes I miscalculated the value.
I'm hoping that there is someone here nice enough to help me adding the MTF function in this script as I know next to nothing in coding. You will make me a very happy person in this world if this can be materialized.
till later, thank you, and here's crossing my finger...![](https://c.mql5.com/forextsd/smiles/embaressed_smile.png)
No problem i added a new param TF ( time frame ) just change it to what you need when on 5 min.
-guyver
You cannot see this but i'm smiling very very broadly when I checked this thread.
![](https://c.mql5.com/forextsd/smiles/party.png)
I'll try this right away, but I think it will all be smooth sailing...
Thank you so much bro...pray that you'll get many more green pips in your trading.![](https://c.mql5.com/forextsd/smiles/popcorn.png)
lol, your welcome hope it works great for you. i am always involved in things currently with the stuff in my signature , inventing / testing and if good later live trading adding to portfolio
-guyver
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys,
I'm at lost here actually because I have this nice script that I use for trading. It's nice because it has an MM function to it.
The only problem is, I'm using M5 TF, but uses the value of M30 or H1 ATR, so I have to calculate the difference between M5 and M30/H1 ATR value. As we all know, we need to be quick in an M5 TF, so sometimes I miscalculated the value.![](https://c.mql5.com/forextsd/smiles/cry_smile.png)
I'm hoping that there is someone here nice enough to help me adding the MTF function in this script as I know next to nothing in coding. You will make me a very happy person in this world if this can be materialized.
till later, thank you, and here's crossing my finger...![](https://c.mql5.com/forextsd/smiles/embaressed_smile.png)