Dear All
Please Help me why I cannot get the SelectedValue() in debugger, please check the code and the Capture Screen :
SetBarsRequired( sbrAll, sbrAll );
Plot(Close,"Price",color=colorBlack,style=styleCandle);
Bar_Index = LastValue(BarIndex());
Selected_Value = SelectedValue(BarIndex());
GfxSelectFont("Times New Roman", 20,300, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( colorbrown );
GfxTextOut("BarIndex "+ Bar_Index, 1100 , 10 );
GfxTextOut("Selected Value Bar: "+ Selected_value, 350 , 10 );
pause=0;
Is it really so much difficult using search function?
Your question has been answered in the past already (and can be found within seconds)
Also the debugger manual mentions:
As of version 6.10, the debugger runs the code with actionBacktest context.
3 Likes
yenpok
4
Dear Fxshrat :
Thansk for the help, I will seach to find out.
rgds bob