Codes

Smart Envelope for mt4 for MetaTrader 4

Clone of Smart Envelope from tradingview

Forum

MT5 CustomRatesUpdate and CustomRatesReplace bug

Hello, I believe that in the 2 functions CustomRatesUpdate and CustomRatesReplace , there is a bug on the return value. Even if no bars are added or changed, they always return the value of the number of items passed to them. So if you pass an array with 10 elements, they return 10 elements. Instead

My signal show "No swaps are charged on the signal account"

My 2 signals show this warning " No swaps are charged on the signal account " and Reliability dropped But swap are charged on the account, please fix the issue

Signal disconnected issue

Hi, my signal is perfectly configured, correct server and correct password, but the system has been disconnected for two days

Calculate leverage

Assuming that I know the required margin for a lot, the size of the contract and the current price, what would be the formula for deriving the leverage of the instrument