Mark Minervini is one of the greatest traders on earth. We all know about his VCP setup, but in his books he also describes the Power Play setup. While I was extremely pleased in finding a screener inspired by the former here: https://www.prorealcode.com/prorealtime-market-screeners/trend-template-mark-minervini/ I found no trace of a screener that can filter potential Power Play setups. It would be great to make this available to Prorealtime users:
According to Mr. Minervini, to qualify as a power play, the following criteria must be met:
- An explosive price move on huge volume that propels the stock price up 100 percent or more within eight weeks. Stocks that have already made a huge gain coming off a late-stage base usually don’t qualify.
- Following the explosive move, the stock price moves sideways in a relatively tight range, not correcting more than 20 percent (some lower-priced stocks can correct as much as 25 percent) over a period of three to six weeks (some can emerge after only 10 or 12 days).
- If the correction in the base, from high to low, does not exceed 10 percent, it is not necessary to see price tightening in the form of a volatility contraction, because the price is already tight enough.
Do you think this is feasible? Thank you very much for your help!
[attachment file=”192134″]
[attachment file=”192157″]
JSParticipant
Veteran
PoleHigh = Highest[9*5](High)
PoleLow = Lowest[9*5](Low)
a = PoleHigh > 2 * PoleLow
b = BarsSince(a) > 5 and BarsSince(a) < 15
FlagLow = Lowest[15](Low)
c = FlagLow / PoleHigh > 0.75
d = Close > PoleHigh
If a and b and c and d then
DrawArrowUp(BarIndex,Close)
EndIf
Return
Sorry @Frank, I think this should be solved using arrays due to the varying time intervals.
I did try something, without arrays, but that was a failure… (maybe you can make something out of it)
Hi JS,
Thank you for taking the time to help me. I’m not a coder. I’ve also found this code here:
https://www.prorealcode.com/topic/cup-and-handle-pattern-andhigh-tight-flag-and-vcp-volatility-pattern/ and I’ve just changed the number of days of the variable “now”. Which one do you think would fit my requirements better? I’d like to stick to Minervini’s template as much as I can.
timeframe(weekly)
//gain at least 100% in the last 8 weeks
if (close-close[8])/close[8]>=1 then
hh=high
endif
timeframe(default)
if hh<>hh[1] and hh>hh[1] then
start=barindex
endif
now = barindex-start
c1 = high<hh
c2 = (hh-close)/hh<0.2
c3 = now>=15 and now<=30
conditions = c1 and c2 and c3
screener [conditions] (now)
JSParticipant
Veteran
Hi @Frank
Wat is je “default timeframe”?
I can’t put “now>=15 and now<=30” in a time frame…
Hi
@JS.
I’ve just copied the code and changed the days because I intuitively understood that the original one was considering a timeframe between 5 days and 3 weeks, whereas I need to consider a timeframe between 3 and 6 weeks according to Minervini. As I mentioned earlier, the original code is here:
https://www.prorealcode.com/topic/cup-and-handle-pattern-andhigh-tight-flag-and-vcp-volatility-pattern/ and it was written by
@nicolas. Perhaps he might be willing to tell us his opinion as well.
JSParticipant
Veteran
Hi
@Frank
What do you mean by “a timeframe between 5 days and 3 weeks”?
The original code uses a weekly timeframe and a daily timeframe.
TF weekly => close[8] is 8 weeks back…
TF daily => 5 (min.5 days) and 15 (max. 15 days = 3 weeks)
Hi
@JS,
I refer to Minervini’s template (first post above):
- Following the explosive move, the stock price moves sideways in a relatively tight range, not correcting more than 20 percent (some lower-priced stocks can correct as much as 25 percent) over a period of three to six weeks (some can emerge after only 10 or 12 days).
JSParticipant
Veteran
Hi
@Frank
Oke, referring to your first post than “c3 = now>=15 and now<=30" is correct.