An Excellent Trick Named as Star Bar Trick

ajeetsingh

Well-Known Member
#22
Ya I was looking for reentry on next day where you pointed out as then closing was confirmed above wma and prev. bar was almost a pin bar, keeping low of pin bar as SL.....



Though this is hindsight.
Many times stop losses are purposely hit for all traders/investors to exit.
Then professional traders/FII's reenter.
An entry is at the bullish pin and the next day is a doji above 5WMA.MA is also sloping upwards.
You do not let go of a stock,even if it hits your stop loss.You always look for a reentry.
 

amitrandive

Well-Known Member
#24
As per strategy suggested, we need four candles making and closing lower lows. In this case its only three candles.
OR am I mistaken, may be the same is not evident in the image posted.
Yes Sirji you are right ,but the coding is such that it checks the lowest low of 4 candles and gives a buy signal when today's open is greater than yesterday's low and today's close is greater than yesterday's close,and also if today's close is above 5WMA.

Code:
Buy= Ref(L,-4)>Ref(L,-3)AND Ref(L,-3)>Ref(L,-2)AND Ref(L,-2)>Ref(L,-1) AND O>Ref(C,-1) AND C>Ref(C,-1)AND C > WMA(C,5);
Sell= Ref(H,-4)<Ref(H,-3)AND Ref(H,-3)<Ref(H,-2)AND Ref(H,-2)<Ref(H,-1) AND O<Ref(C,-1) AND C<Ref(C,-1)AND C < WMA(C,5);
 

ajeetsingh

Well-Known Member
#26
so should i include 1 more day....
Code:
Buy= Ref(L,-5)>Ref(L,-4) AND Ref(L,-4)>Ref(L,-3)AND Ref(L,-3)>Ref(L,-2)AND Ref(L,-2)>Ref(L,-1) AND O>Ref(C,-1) AND C>Ref(C,-1)AND C > WMA(C,5);
Sell=  Ref(H,-5)<Ref(H,-4) AND Ref(H,-4)<Ref(H,-3)AND Ref(H,-3)<Ref(H,-2)AND Ref(H,-2)<Ref(H,-1) AND O<Ref(C,-1) AND C<Ref(C,-1)AND C < WMA(C,5);
Yes Sirji you are right ,but the coding is such that it checks the lowest low of 4 candles and gives a buy signal when today's open is greater than yesterday's low and today's close is greater than yesterday's close,and also if today's close is above 5WMA.
Code:
Buy= Ref(L,-4)>Ref(L,-3)AND Ref(L,-3)>Ref(L,-2)AND Ref(L,-2)>Ref(L,-1) AND O>Ref(C,-1) AND C>Ref(C,-1)AND C > WMA(C,5);
Sell= Ref(H,-4)<Ref(H,-3)AND Ref(H,-3)<Ref(H,-2)AND Ref(H,-2)<Ref(H,-1) AND O<Ref(C,-1) AND C<Ref(C,-1)AND C < WMA(C,5);
.
 
#27
Yes Sirji you are right ,but the coding is such that it checks the lowest low of 4 candles and gives a buy signal when today's open is greater than yesterday's low and today's close is greater than yesterday's close,and also if today's close is above 5WMA.

Code:
Buy= Ref(L,-4)>Ref(L,-3)AND Ref(L,-3)>Ref(L,-2)AND Ref(L,-2)>Ref(L,-1) AND O>Ref(C,-1) AND C>Ref(C,-1)AND C > WMA(C,5);
Sell= Ref(H,-4)<Ref(H,-3)AND Ref(H,-3)<Ref(H,-2)AND Ref(H,-2)<Ref(H,-1) AND O<Ref(C,-1) AND C<Ref(C,-1)AND C < WMA(C,5);
This is very much right
 

Similar threads