PLS help me to make amibroker auto plot horizontal line on 1st houre candle high low

#1
Dear all
can any body make this afl for me
plot daily horizontal line on 1st houre candle high and low
it can be change manual also
and daily shift automatic next day

i have attached sample screen shot

 

Profittaker

Well-Known Member
#2
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

Dear all
can any body make this afl for me
plot daily horizontal line on 1st houre candle high and low
it can be change manual also
and daily shift automatic next day

i have attached sample screen shot

Dear shrigsm,
Try this code .

PHP:
_SECTION_BEGIN("Ist Hr. High-Low Marker");
SetChartOptions(0,chartShowArrows|chartShowDates);
SetChartBkColor(ParamColor("Outer panel",colorBlack)); 
SetChartBkGradientFill(
ParamColor("Inner panel upper",colorBlack),
ParamColor("Inner panel lower",colorBlack));
TM=Param("Time",101500,110000,235500,1);
afterbreakout0 = Cross(TimeNum(),TM);
afterbreakout1 = TimeNum()>=TM;
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
ORBHigh = ValueWhen(afterbreakout0,highestoftheday,1);
ORBLow = ValueWhen(afterbreakout0,lowestoftheday,1);
Plot(C,"",colorWhite,styleCandle);
Plot(NewDay,"",colorWhite,styleHistogram|styleOwnScale);
Plot(afterbreakout0,"",colorBlue,styleHistogram|styleOwnScale);
Plot(ORBHigh,"",colorLime,styleDots);
Plot(ORBLow,"",colorRed,styleDots);
_SECTION_END();
 
#3
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

Thx for making afl
but not working
only black black chart showing
 
#5
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

working only 15 min chart
i min i can see line only in 15 in chart
and lvl is wrong
like today aluminium high is 106.65 and low 106.05
lower line is correct but higher line wrong it showing 106.30 in 15 min chart
multiple time frame not work
pls correct it
and can u edit background white
up candle color blue or brite green and down candle color red
horizontal line same as sample chart color pink and not dotted
 
Last edited:

Profittaker

Well-Known Member
#6
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

good
i have 5.50 version
it support ?
I am using 5.70 ver. I think 5.50 version also support this afl. kindly check your amibroker setting. Click Tools menu ==> Click Preference==> click Colors Tab and try to change candle color [OR] try this, Right click in chart ==> select parameters==> change outer, inner panel upper & Lower color.
 

Profittaker

Well-Known Member
#7
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

working only 15 min chart
i min i can see line only in 15 in chart
and lvl is wrong
like today aluminium high is 106.65 and low 106.05
lower line is correct but higher line wrong it showing 106.30 in 15 min chart
multiple time frame not work
pls correct it
and can u edit background white
up candle color blue or brite green and down candle color red
horizontal line same as sample chart color pink and not dotted
Right click in chart ==> select parameters==> Change Time setting from 101500 to 110000. [use 101500 for nse and 110000 for mcx] .
 
#8
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

Can I please request you to modify this AFL to also display colored Horizontal Bands for
3 sessions in MCX market
1 Session : 10:00-13:30
2 Session : 13:30-17:30
3 Session : 17:30 -23:30
It should be like adding a rectangle for each session for the high and low price travelled in that session.

I am right now manually drawing a rectangle for each session to differentiate visually.
 
Last edited:
#10
Re: PLS help me to make amibroker auto plot horizontal line on 1st houre candle high

no need previous day horizontal line
and color same to same as a previous post
please remove white and blue vertical line
[/url] adult photo sharing[/IMG]