Simple Coding Help - No Promise.

josh1

Well-Known Member
Sir, I just replaced DH and DL with RH and RL and its working fine showing the last days resistance/support at the defined time and no crooked line. The code line that was changed is as below:
Code:
RH = IRHigh;  RHI = LastValue (RH,1);// 15 Min high
RL = IRLow;  RLI = LastValue (RL,1);    // 15 Min low
Hope it helps. Thnx
Yes it works, but the crooked line is actually from previous day EOD till the last bar of the initial range. and we need only this much code-
_SECTION_BEGIN("Initial Range HI-LO");

beginTradeTime = ParamTime("Strt Time ", "9:15:00");
endRangeTime = ParamTime("Range Time","9:30:00");

RH = deTimeRangeHHV(H,beginTradeTime ,endRangeTime );
RL = deTimeRangeLLV(L,beginTradeTime ,endRangeTime);
IRHL = ParamToggle("InitialRange HI LO","Show|Hide",1);

if(IRHL==1) {
Plot(RL,"RL",colorRed,styleLine|styleThick|styleNoRescale|styleNoTitle|styleNoLabel,0,0,0,0);
Plot(RH,"RH",colorRed,styleLine|styleThick|styleNoRescale|styleNoTitle|styleNoLabel,0,0,0,0);
}
 
Yes it works, but the crooked line is actually from previous day EOD till the last bar of the initial range. and we need only this much code-
hi sir.
I am using rtd 1.50 and zerodha nest 3.14.4.6the problem is I opend nest,then opend rtd 1.50 and clicked select>>>nestplus...
then a error showing "trading symbol must be present in mkt watch"....though I have "trading symbol" Colum in my mkt watch. then I tested in old version of nest. The problem is same...same error. I refreshed mkt watch so many times +opend nsest+rtd 1.50 in admin mode. The problem is still there.mr.josh1 sir or anybody please help me how to remove this problem. I read so many traders telling nest chart not coming in 3.14.46 ver.i emailed to zeroda,they sent me a link of google drive to download the folder
of nestplus installed folder.told to copy folder in c drive and login,trade.it is working fine.
but rtd 1.50 error showing as told. Here with I am uploading the error and mktwatch screenshot.plz help me.
waiting for valuable help from josh1 sir or any other.
advance thanks.
 

Attachments

make an afl which scan and explore realtime pivot point only R1 and S1 only closing ...means if a candle close R1 or S1 on 15min.time frame only.
thanks in advance
 

john302928

Well-Known Member
Hi Could anyone please share me an afl that shows price chart rotated 90 deg. I should be able to adjust the degree in parameters. Please help me. Thanks. I just want the simple price chart with the provision to rotate it with specified angle
 

Romeo1998

Well-Known Member
Dear friend Vivek,
just drag n drop this in chart window :happy: it will work now :D
Code:
_SECTION_BEGIN("Price");
SetChartOptions(1,chartShowArrows|chartShowDates,0);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

//complete length of candle
cheight = H - L;

// length of candle's body
bheight = O - C;

// percentage of body in the candle :)
p = (abs(bheight)*100)/cheight;

Plot(C,"",IIf(p<=50,coloryellow,Null),styleCandle);

// use in analysis :)
Filter = p<=50;
AddColumn(p,"Percentage of body in candle ^_^ ",1.2);
:happy:
 

Similar threads