Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
The task is quite simple. It consists in creating a standard deviation channel which automatically adjusts to a determined period (the calculations are made on the last closed candle and not on the active candle).
The indicator must be multi-timeframe, which means I can put a channel calculated on the H1 on M15.
Also, I want to be able to have more than one channel on the same chart without bugging and to be able to choose the two deviations that will make up the channel.
Fill the area between Dev1 & Dev2 with color and extend right.
Add alerts when the price enters the channel.Inputs:
input ENUM_TIMEFRAMES timeframe= PERIOD_CURRENT;
input int Period=96;
input double Dev1= 1.00;
input double Dev2= 2.00;
input bool Alerts=true;
input bool ExtendRight= true;
input bool ColorFill=true; // Set the color fill transparent to 90
input bool ShowLines= true; // if false ---> Always show mid line
input color UpperChannel=clrRed; //Same color for the upper lines
input color LowerChannel=clrGreen; //Same color for the lower lines
input color MidLine= clrBlack; // Always show mid line