Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Presto's Magic Box for Amibroker (AFL)

Rating:
2 / 5 (Votes 5)
Tags:
amibroker, darvas

By Jason Prestwidge.

  • Presto’s Magic Box – a tweaked version of Darvas box

Metastock script and picture can be seen from:
http://srsc.com.vn/metastock-codes/e-w-Prestos_Magic_Box.html

  • Drag and Drop into Price Chart

Similar Indicators / Formulas

Pink Darvas
Submitted by Marc over 11 years ago
Darvas Box
Submitted by free88x about 14 years ago
Darvas Box with Exploration
Submitted by ariko almost 14 years ago
Darvas Box
Submitted by cruzc over 13 years ago
bad tick clean
Submitted by pious243 about 11 years ago
*Level Breakout system*
Submitted by Tinych over 12 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Presto's Magic Box");
Periods=Param("periods",100,4,260);

//--Kelvinhand
HHVtemp = HHV( High, Periods );
LLVtemp = LLV( Low, Periods );

TopBox = HHVTemp;
BotBox = LLVTemp;

for( i = Periods + 4; i < BarCount; i++ )
 {

   if( H[ i - 3 ] >= HHVTemp[ i - 4 ] AND
                     H[ i - 3 ] > H[ i - 2 ] AND
                     H[ i - 3 ] > H[ i - 1 ] AND
                     H[ i - 3 ] > H[ i ])

   {                     

      Topbox[ i ] =  H[i-3];
      Botbox[ i ] = LLVTemp[i];

   }
   else
   {   //*** PREV ****
      Topbox[ i ] = Topbox[ i-1];
      Botbox[ i ] = Botbox[i-1];

   }

}

//Plot( C, "Price", colorBlack, styleCandle );

Plot( Topbox, "PM_Top", ParamColor("PM_Top.Color",colorRed),  Param("PM_Top.Style",styleNoLabel,maskAll) );
Plot( Botbox, "PM_Bot", ParamColor("PM_Bot.Color",colorGreen), Param("PM_Bot.Style",styleNoLabel,maskAll) );

_SECTION_END();

1 comments

1. sikandar

Hi Kelvinhand
Thanks for the nice conversion.
Can you convert this TS code Power RSI Pivot also
http://srsc.com.vn/metastock-codes/t-i-Power_RSI_Pivot.html

Leave Comment

Please login here to leave a comment.

Back