Codes

Proper Bot for MetaTrader 4

The Proper Bot is for those who like Martingale style trading. Features: Stop Loss, Take Profit, Trailing Stop Loss functions. All are calculated in POINTS

LB & SB using RSI & Momentum for MetaTrader 4

The same EA's as previously released. The additional code allows the user to set parameters on RSI and Momentum

Stop & Limit Bots for MetaTrader 4

Two EA's. One places Stop orders the other places Limit orders

Forum

OHLC values of indicator

Apologies if this has been covered before. I am looking to ascertain the values of an indicator. I get that the value changes with each tick, but I need to see the value changes over the whole bar. Any help would be appreciated, especially pointing me in the direction of threads where this may have

Closed profit percentage

Trying to add a closed profit percentage function , but it appears not to work when testing. Line 78 bool hasProfit() is the section in question. Any guidance would be appreciated. Couldn't seem to post code using SRC, so file attached

Logic not correct

I have a function on an EA (mql4) to set price levels at which not to buy or sell. The function doesn't work correctly, once a threshold has been reached it won't trade at all. Obviously the idea is still to be able to Sell once the High_Level is breached and still be able to Buy when the Low_Level

Login from mobile/cell phone

Sometimes when I login to my live MT4 account using my smart phone, under the trade tab, the open positions appear to be different. The stats change quickly to my actual live account, but for a few seconds I am viewing something that is not mine. I have noted that if I am in profit the other account

Not connecting to subscribed signal when using virtual host

I have watched the relevant video clips of how to set up the hosting , but I seem to lose connection to the signal I have subscribed to when I close my MT4. Any ideas what could resolve the issue

Is this possible?

Hello, On many of the EA's I have there is a function that will prevent buying or selling at a certain distance from the top or bottom of the market. It is user set in the variables i.e Points_Bars, Points_Restrict, Points_Period etc. Is it possible to code it so the user has the option of entering

Auto Trading

If this is switched to off/red, does this disable scripts too

MAC users

Is the MT4 trading platform on Mac identical to windows MT4

difficulty with void statement

I have corrected all the warnings except this one below. Usually the void function doesn't require a return operator, so how do I add the if statement and extra pair of { } to the order close as the return value needs to be checked according to the meta editor. (post 600 build) void

Order Send

Is OrderSend the only command that allows you to open an order