Thanks casoni,
But it showing the blank as its not showing any signal. not even showing graph. i added to the Price List graph, then too its not showing...backtesting showing error 701, but scan showing many buy and sell trades at same price....
My concern is i want to enter at previous high candle + 3 and exit/sell at previous high candle 6 or if stock falls, then i want to exit at lowest of previous candle
thanks for the help
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
buy=ref(h,-1)+3;
sell=ref(h,-1)+6 or ref(l,-1);