Knowledge base MetaTrader 4 @en

Finding the closing time of the last position

Check how can you get the closing time of the last order, which is of the specific type and has the appropriate magic number.

Finding the last position opening time

Check how can you get the opening time of the last order, which is of the specific type and has the appropriate magic number.

Automatic setting of stop losses

The function described in the article enables you to set the stop loss for orders automatically, which is useful especially in trading with ECN brokers.

Trading platform Dealbook 360

The review of the DealBook 360 trading platform and its comparison with the currently most popular platform – MetaTrader 4.

Normalization of the position size

Does the broker rejects your order sometimes? Perhaps the problem is an inadequate size of the position.

Closing orders after a specified number of bars

Do you want to close an order after the specified number of candles? Find the answer in this article how to do it.

Counting orders in the order board

Do you want to check how many opened positions of a certain magic number do you have? Use the function below!

Code execution at the bar opening

We often want to do a single event (e.g, send an order) at the opening of a new candle. Find out how to do it easily.

Indicators with dots and arrows

Learn how to create indicators, which draw an arrow or a dot at the important point e.g, the intersection of moving averages.

Strona 3 z 3123
  • Facebook