Skip to main content

Daily Close Price Histogram for Amibroker (AFL)

taifur_pavel over 15 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker

Everyday Close price graph with histogram, which helps spot the High n Low of a Swing. select the param as shown on the pic.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("MA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 1, 1, 100, 1, 1 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle( "Style", styleHistogram | styleThick, maskHistogram  ) );
_SECTION_END();

_SECTION_BEGIN("MA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 1, 1, 100, 1, 1 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

4 comments

over 15 years ago

EARLIER SEEN THIS IN METATRADER. QUITE HAPPY TO SEE IT IN AMI.IT HELPS A LOT THANKS FOR SUCH A FINE TOOL. I WAS THINKING TO MAKE A SOFTWARE FOR THIS.
REALLY GRATEFUL TO YOU FOR THIS IMMENSE HELP.
THANKS FROM THE HEART

2. pras
over 15 years ago

Hi,

it will be better way by below code

Plot( C, “Close”, ParamColor(“Color”, colorBlack ),ParamStyle(“Style”,styleNoTitle|styleArea,maskAll) );

Leave Comment

Please login here to leave a comment.