Trabalho concluído
Termos de Referência
Helo my friends,
I have an indicator and I want to put 3 new simple conditions for BUY and SELL signal, with sound alert and email.
I want also to put custom Period of averaging for indicator calculation for CCI, and two wiliams percent indicator range like:
extern int picciu=14; //Period of averaging for indicator calculation (for CCI –default period 14)
extern int piwprbar=14; //Period (amount of bars) for indicator calculation (for wiliams (%) –default period 14)
extern int piwprbar1=13; //Period (amount of bars) for indicator calculation (for wiliams (%) –default period 13)
Also I need to put number of fully formed bar myself - for CCI, wil1 and wil 2. (read the text)
Signal candle is - the latest fully formed bar
For Buy - adition condition on existing indicator
//Commodity Channel Index
//Buy: 1. indicator crosses - 100 from below upwards in the
last 5 fully formed bar (I need to put number of fully formed bar myself - custom
variable) and signal candle it is not above +100. No meather does it cross on
signal candle or before last 5 fully formed bar (candle).
and
//Williams Percent Range – (one indicator with this condition)
//Buy: crossing -80 upwards from below upwards in the last 5 fully formed bar (I need to put number of fully formed bar myself - custom variable).
and
//Williams Percent Range – (second indicator with this condition)
//Buy: crossing -80 upwards from below upwards in the last 5 fully formed bar (I need to put number of fully formed bar myself - custom variable) and on the signal candle it is not above -20
Becose that I need custom Period of averaging to put myself
Important for buy signals lines on all indicators must be upwards.
Please see the pictures and all be clear to you.
For Sell - adition condition on existing indicator
//Commodity Channel Index
//Sell: 1. indicator crosses +100 from above downwards in the last 5 fully
formed bar (I need to put number of fully formed bar myself - custom
variable - 5 default) and signal candle is not below -100
and
//Williams Percent Range – (one indicator with this condition)
//Buy: crossing -20 from above downwards in the last 5 fully formed bar (I need to put number of fully formed bar myself - custom variable – 5 default)
and
//Williams Percent Range – (second indicator with this condition)
//Buy: crossing -20 from above downwards in the last 5 fully formed bar (I need to put number of fully formed bar myself - custom variable - 5 default) and on the signal candle not above -80
Important for sell signals lines on all indicators must be downwards
Please see the pictures and all be clear to you.