Hi all! How do I take or find the buffer numbering from this indicator in order to use iCustom? It's a simple PivotCustomTime indicator. Or has anyone got a simple PivotPoint indicator that comes with ProTrader?
1. Откройте любой график в терминале и добавьте индикатор 2. В настройках индикатора установите необходимый период в секундах Period in seconds и таймфрейм автономного графика TimeFrame Chart в минутах 3. Настройка индикатора Auto Open Chart From Start Indicator = true означает, что индикатор после загрузки самостоятельно откроет кастомный...
Could you please advise how to write in your EA that the orders opened by the MA signal will be closed only by the reverse MA signal (or by one condition), and the orders opened by the RCI will be closed only by the RCI (by other conditions).
Please, advise how to write in your EA that orders opened by MA signals should be closed only by reverse MA signal (or by one condition) and orders opened by RSI should be closed only by RSI (by other conditions).
Here is, for example, the condition
if (MA>close[0])
ordersend....... BUY.....
if (RSI>70)
ordersend........ BUY....
-----------------------------
1) In this case, how do I close the first order according to one condition, and the second order according to another condition?
2) How to make it so that: .....a) no more than 1 order is opened (until the open order closes)
.....b) open each order independently of the open orders (multi-strategy)
Thank you in advance.
use 2 magic numbers and for each magic number perform order accounting and modifications
For some reason it suddenly started popping up during testing(wrong volume):
2019.09.0709:12:48.2292019.09.0204:14:45 Ex EURUSD,M5: OrderSend error 131
Although I didn't change anything in OrderSend or in the volume variable. It worked fine before... I tried it in another terminal - it works fine... What can it be?
Hi Artyom,
Please let me know how I can get a 15 second or 30 second candle on the chart?
I have seen that the smallest chart time is PERIOD_M1. But I want to have a seconds chart. Can you please tell me how this can be done?
Hi Artyom,
Please let me know how I can get a 15 second or 30 second candle on the chart?
I have seen that the smallest chart time is PERIOD_M1. But I want to have a seconds chart. Can you please tell me how to do this?
If we are talking about MT5, you cannot.
if you want to draw a seconds chart in MT4, here I didhttps://www.mql5.com/ru/code/24839
Could you please advise how to write in your EA that the orders opened by the MA signal will be closed only by the reverse MA signal (or by one condition), and the orders opened by the RCI will be closed only by the RCI (by other conditions).
Here, for example, is the condition
if (MA>close[0])
ordersend....... BUY.....
if (RSI>70)
ordersend........ BUY....
-----------------------------
1) In this case, how do I close the first order according to one condition, and the second order according to another condition?
2) How to make the following:
..... а) no more than 1 order is opened (until the open one is closed)
.....b) so that each order is opened regardless of the presence of open orders (multi-strategy)
Thank you in advance.
Please, advise how to write in your EA that orders opened by MA signals should be closed only by reverse MA signal (or by one condition) and orders opened by RSI should be closed only by RSI (by other conditions).
Here is, for example, the condition
if (MA>close[0])
ordersend....... BUY.....
if (RSI>70)
ordersend........ BUY....
-----------------------------
1) In this case, how do I close the first order according to one condition, and the second order according to another condition?
2) How to make it so that:
.....a) no more than 1 order is opened (until the open order closes)
.....b) open each order independently of the open orders (multi-strategy)
Thank you in advance.
use 2 magic numbers and for each magic number perform order accounting and modifications
Can iHighest (iLowest) be applied to an indicator (e.g. MACD, RSI)?
copy the indicator buffer and apply ArrayMaximum ( ArrayMinimum )
but I think there will be a problem if the indicator uses EMPTY_VALUE
copy the indicator buffer and apply ArrayMaximum ( ArrayMinimum )
but I think there will be a problem if the indicator uses EMPTY_VALUE