Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
Hello to all!
I do not know if it is possible to program over 2 windows.
Please have a look. Thank you!
---------------------------------------------------------------------------
The system
should work with two windows and two time frames.
* In the first window comes a time frame that is adjustable in 30min, 1H, 4H units.
* In the second window, a time frame should come in 1min, 5min, 15min units be adjusted.
* Both windows use the indicator: HeikenAshiKuskus
And so is my idea:Example
I set in the first window 30min Timeframe , and set in a second window 5min Timeframe.
We look at the first window, we wait until the color has changed, and the bar was closed.
In the second window, the time frame is set with 5min.
So we look on the 5 min Timeframe at the right buy Signal.
The buy signal will be correct,when the color changes to the same color of the Bar in the first window. But (important) only the second time.Not the next bar but the next Ha Kuskus signal in the right direction as in the first window.
If I lose this race (perhaps with a stop), we still use a second option to buy.
If I win this race (perhaps with a limit order), we stop and wait for the next color change in the first window.
It is important for me:
* That I can change the time frame in both windows. (For several combinations)
* That I can change the properties of HA-Kuskus in the two windows separately.
(Perhaps with different names, such as HA-Kuskus1 and HA-Kuskus 2)
-------------------------------------------------- -----------------------
I also need the usual things.
* Stop Loss, Trailing Stop, Limit Order
regards Alfred