I need a check whats based on bulls and bears.
I have the basics already:
extern bool EnableBull = True;
int BullSignal = EMPTY_VALUE;
//BULL
if (EnableBull==True)
//check1 needed
BullSignal = OP_SELL
else
BullSignal = EMPTY_VALUE;
I need now add the commend of check required the following.
When there are 4 or more bullish candles following each other.
And after these 4 or more bullish candles must be 1 bearish candle, when this bearish candle is shut it needs to open an brief trade.
In this film you find an example:
http://www..eu/bla.png
1: Bullish Candle number one
2: Bullish Candle number two
3: Bullish Candle amount three
4: Bullish Candle amount four
5: Bearish Candle
6: Open Short
The code ought to be something like this I believe:
If (bull1 = authentic ) (bull2 = authentic ) (bull3 = authentic ) (bull4 = authentic ) (bear = true)
BullSignal = OP_SELL
else
BullSignal = EMPTY_VALUE;
Someone here which will help me ?