Forum

websocket MT4

Can anyone help unravel this problem. I am trying to communicate python with MT4. The problem is that even when I close/deactivate the python code, something is constantly coming in at the MT4 input. I don't know what it is. Are they some buffers or other things? The code looks like below

a signal timer, it doesnt work, please help

Welcome, I'm trying to write a signal timer and it's not working The thing is that, the trend indicator sets a value in the buffer that is different from zero when an asterisk appears on the screen. Then the buffer is reset to zero until the next asterisk appears (that's why static bolean) I wrote a

BUY_STOP does not change to BUY order

Hello, I have some problem with code execution in demo account . The problem is that some BUY-STOP orders remain on the terminal as BUY-STOP while they should have become BUY. The price goes up and the terminal still shows an open BUY-STOP order. If you try to close such an order manually, the

A simple matrix/array operation

Hi, Can someone help me with a simple matrix operation? Here, I have built a matrix of all open orders. I have sorted them from the most loss-making to the most profitable. Now, I take the most losing order and check if the profitable orders are able to compensate it with a small profit. It seems

font size in 'strategy tester' to small to read

Hi,'t I can't figure out this stupid problem with font size on strategy tester. Everything became so small, I can't read it. It happened after restaring my MT4 one day. Same on home machines and 3x VPS. Do you know how to fix this? Please let me know. This is the screen shot: Regards Kris

RSI trading system - general idea, opened positions control - problem

Hi, I am new here and I am not programmer (yet). I have an idea I want to share with you all and finally check it in practice / test. I found interesting piece of program (autor Joni) which I modified a little bit. Originally ROBOT buys or sells when RSI riches levels 30 or 70. It buys a few