Basically, I would like two patterns
1. make buy/sell entry if the color of the current candle stick changes from the previous candle stick (i.e. if the previous candle stick was red (down), and the current closed one is blue (up), make a buy entry. The other way around for a short entry)
2. make buy/sell entry ONLY after certain number of blue/red candle sticks in row. This is based on the idea that if there were say 20 red (down) candle sticks in row, once one blue candle stick appears, it is more likely that the down trend is turning to up trend. Could someone teach me how to place such condition on the strategy analyzer?
Exit for both patterns would be when the color of the current candle stick changes from the previous candle stick (i.e. for buy position, blue to red)
Your help is greatly appreciated.
Akihiro
Comment