would anybody modifiy Price-Volume Rank? For EOD it is giving good prediction before price breakup. But i`m missing buy/sell signal visually.
_SECTION_BEGIN("Price");
//------------------------------------------------------------------------------
//
// Formula Name: Price-Volume Rank
// Buy/Sell at 5/10-day crossovers. Buy when fast line
// crosses below 2.5. Sell when fast line crosses above 2.5. Use turn-around
// points cautiously. Remember that a climbing PVR line indicates a weakening
// market. Make another indicator using a double-smoothing to use a less
// volatile graph. Thanks to Donald Dalley for the description
//
//------------------------------------------------------------------------------
/* Price-Volume Rank Indicator
Use a 1 if price and volume are up
Use a 2 if price is up and volume is down
Use a 3 if price and volume are down
Use a 4 if price is down and volume is up
Plot a 5-day and a 10-day MA of these values.
Buy/Sell at 5/10-day crossovers.
Buy when fast line crosses below 2.5.
Sell when fast line crosses above 2.5.
Use turn-around points cautiously.
Remember that a climbing PVR line indicates a
weakening market.
Make another indicator using a double-smoothing
to use a less volatile graph.
*/
P1 = Ref( Close, -1 );
V1 = Ref( Volume, -1);
PVR = IIf( Close > P1 AND Volume > V1, 1,
IIf( Close > P1 AND Volume <= V1, 2,
IIf( Close <= P1 AND Volume <= V1, 3, 4 )));
Graph0 = MA( PVR, 5 );
Graph1 = MA( PVR, 10 ) ;
_SECTION_END();
_SECTION_BEGIN("Price");
//------------------------------------------------------------------------------
//
// Formula Name: Price-Volume Rank
// Buy/Sell at 5/10-day crossovers. Buy when fast line
// crosses below 2.5. Sell when fast line crosses above 2.5. Use turn-around
// points cautiously. Remember that a climbing PVR line indicates a weakening
// market. Make another indicator using a double-smoothing to use a less
// volatile graph. Thanks to Donald Dalley for the description
//
//------------------------------------------------------------------------------
/* Price-Volume Rank Indicator
Use a 1 if price and volume are up
Use a 2 if price is up and volume is down
Use a 3 if price and volume are down
Use a 4 if price is down and volume is up
Plot a 5-day and a 10-day MA of these values.
Buy/Sell at 5/10-day crossovers.
Buy when fast line crosses below 2.5.
Sell when fast line crosses above 2.5.
Use turn-around points cautiously.
Remember that a climbing PVR line indicates a
weakening market.
Make another indicator using a double-smoothing
to use a less volatile graph.
*/
P1 = Ref( Close, -1 );
V1 = Ref( Volume, -1);
PVR = IIf( Close > P1 AND Volume > V1, 1,
IIf( Close > P1 AND Volume <= V1, 2,
IIf( Close <= P1 AND Volume <= V1, 3, 4 )));
Graph0 = MA( PVR, 5 );
Graph1 = MA( PVR, 10 ) ;
_SECTION_END();