Here is small code update as I forgot to add week and month flags.Īlso added ParamStyle. Plot(IIf(newday, Null, _L),"L"+i,colorRed, style, Null, Null, -1 ) This prevents situation when program could not be closed and sometimes corrupted data on. Plot(IIf(newday, Null, _L),"L"+i,colorRed, style ) Exception dialog Exit program exits program forcefully now. Ok, here´s the thing, there´s a tool on dvanced 6et called MO8, make or email protected that allows the user to select a previous pivot and from that point a target zone in the future is drawn on the chart. Plot(IIf(newday, Null, _H),"H"+i,colorBrightGreen, style, Null, Null, -1 ) email protected or email protected Hi everyone, I´d like to ask if what I´m trying to achieve is feasible on TOS and maybe hear if it can be done easily. Plot(IIf(newday, Null, _H),"H"+i,colorBrightGreen, style ) This chapter will guide you through the most important parts of AmiBroker. Style = styleStaircase | styleDashed | styleNoLabel | styleNoTitle | styleNoRescale My Python and Excel software, including all source code, are included on the. Tmfrm = VarGet(ParamList("Time","inDaily|inWeekly|inMonthly")) ĭayH = TimeFrameGetPrice( "H",tmfrm,-1 ) ĭayL = TimeFrameGetPrice( "L",tmfrm,-1 ) ĭa圜 = TimeFrameGetPrice( "C",tmfrm,-1 ) AmiBrokers unique and powerful platform provides a complete trading solution.
Here is full code for Camarilla all levels.
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ) _N(Title = StrFormat("", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )) SetChartOptions(0,chartShowArrows|chartShowDates) PlotOHLC(H4,H4,H4,H4,"H4",colorBrightGreen,styleCandle | styleNoLabel | styleNoTitle) PlotOHLC(H4,H4,H4,H4,"H4",colorBlue, styleCandle | styleNoLabel | styleNoTitle) Can you help _SECTION_BEGIN("Camrilla Pivots") ĭayH = TimeFrameGetPrice( "H", inDaily,-1 ) ĭayL = TimeFrameGetPrice( "L", inDaily,-1 ) ĭa圜 = TimeFrameGetPrice( "C", inDaily,-1 ) ĭayH = TimeFrameGetPrice( "H",inWeekly,-1 ) ĭayL= TimeFrameGetPrice( "L",inWeekly,-1 ) ĭa圜 = TimeFrameGetPrice( "C",inWeekly,-1 ) ĭayH = TimeFrameGetPrice( "H",inMonthly,-1 ) ĭayL= TimeFrameGetPrice( "L",inMonthly,-1 ) ĭa圜 = TimeFrameGetPrice( "C",inMonthly,-1 ) I have been trying to plot camrilla pivots, however, when I use PlotOHLC (I want line breaks), I can only plot in red color, despite giving green color.