Simple Coding Help - No Promise.

Hi guys i am gald to be with experts and good knolge helpfull people

and nice to shar idea or what i hope to development by Amibroker

accully tha idea of the indcator developed by Aelxander Elder
It call Bear power and its the differnce between the lowest price of the day and 13 ema standard above or below zero line with scan what is advantage with Amibroker





thank you in advance
 
Hi all seniors,

I'm backtesting buying at 9:30 and selling 11:30 am. I'm not able to pick the "Time" -- it is showing as 0 on the plot and no results are shown on the Analysis page.

Could you please help?

thanks so much!

Code:
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );




Time = TimeNum();
Plot(Time, "Time", colorYellow);



    Buy = (Time == 093000);
    Sell = (Time == 113000);
    
    Buy = ExRem(Buy, Sell);
    Sell = ExRem(Sell, Buy);
    
    BuyPrice = SellPrice = Open;



_SECTION_END();
 

Similar threads