Plotting lines on yesterday's first candle

PUCHU_2500

Well-Known Member
#2
Abhi issi se kaam chala lo, baad me expert will give you nice afl........

BT = ParamTime ("YDAY OR", "09:29:59");
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
Closeoftheday=ValueWhen(TimeNum()==092959,C);
DayH = TimeFrameGetPrice("H", inDaily, -1); DayHI = LastValue (DayH,1);// yesterdays high
DayL = TimeFrameGetPrice("L", inDaily, -1); DayLI = LastValue (DayL,1); // yesterdays low
DayC = TimeFrameGetPrice("C", inDaily, -1); // yesterdays close
DayO = TimeFrameGetPrice("O", inDaily); // current day open

do1=TimeFrameGetPrice( "O", inDaily, -1);

Plot(do1,"",colorGreen,styleDots);




_SECTION_END();
 

LOVEENAJYOTHI

Well-Known Member
#3
Abhi issi se kaam chala lo, baad me expert will give you nice afl........

BT = ParamTime ("YDAY OR", "09:29:59");
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
Closeoftheday=ValueWhen(TimeNum()==092959,C);
DayH = TimeFrameGetPrice("H", inDaily, -1); DayHI = LastValue (DayH,1);// yesterdays high
DayL = TimeFrameGetPrice("L", inDaily, -1); DayLI = LastValue (DayL,1); // yesterdays low
DayC = TimeFrameGetPrice("C", inDaily, -1); // yesterdays close
DayO = TimeFrameGetPrice("O", inDaily); // current day open

do1=TimeFrameGetPrice( "O", inDaily, -1);

Plot(do1,"",colorGreen,styleDots);




_SECTION_END();
@PUCHU_2500 ji,
above Afl thoda confused lag raha hai, matlab it looks like today's & yesterday's values ultapulta hogaya hain shaayad.
lm outside now, aap agar inconvenience na ho toh zara ek baar chart pe check karenge please ?
Thanks n Regards
 

PUCHU_2500

Well-Known Member
#4
@PUCHU_2500 ji,
above Afl thoda confused lag raha hai, matlab it looks like today's & yesterday's values ultapulta hogaya hain shaayad.
lm outside now, aap agar inconvenience na ho toh zara ek baar chart pe check karenge please ?
Thanks n Regards
BHAI,
Mei coding me anari hoon, zero knowledge in afl, trying to help him with copied & edited afl.......pls, loveena, pls, help him.......
 
Last edited:

Similar threads