[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sell Signals



PureBytes Links

Trading Reference Links

Hy everybody!

I´m looking for some help programming a working sell signal. I´ve 
tried several reference sites but I´m stuck with it. The logic is:

- filter OUT all values wich are 5 Points above the buyprice for the 
following rule (for them another rule should be applied)
- for the rest (above 5 Points): remember the open value of the last 
high-candle and 
- sell, if close < the open value of this last high-candle OR
- sell, if close < open-value of the buy-candle (for all these who 
went not above the 5 points and went down)

I´d like to include that exit-strategy in the following formula wich 
work pretty nice at 1 min candlesticks of e-mini Nasd 100:

Cond1 = STOCH(14) < 29;
Cond2 = close > open;
Cond3 = ref ( close, -1) > ref ( open, -1);
Cond4 = close > ref(open, -2) AND close > ref(open, -1) ;
Cond5 = close > ref(close, -2) AND close > ref(close, -1);

Buy = Cond1 AND Cond2 AND Cond3 AND Cond4 AND Cond5;

Sell = close < ref(open, -3) AND close < ref(open, -2) AND close < ref
(open, -1);

buy = ExRem( buy, sell );
sell = ExRem( sell, buy );