how to set cursor on last candle?

hmsanil

Active Member
#1
Hi all,

In amibroker I want the cursor to be always on last/current candle.Can any one help me out how to set like that in amibroker.


(Means Automatic scroll back to the last/current candle)


Thanks

Anil
 
Last edited:

hmsanil

Active Member
#3
I don't understand clearly
try this
Go to Preferences---------> Charthing and
Blank bars in right margin as 35 or 40 ..
Thanks for your help, but problem not resolved

I mean every time i have to click on the last candle, if suppose i click on the 10th previous candle,the cursor stays there itself until i move it, i want the cursor to be always in focus of last candle.

This feature i have seen in Mt4, i don't know how to do it in Amibroker

In MT4

http://img689.imageshack.us/img689/9208/inmt4.png


In Amibroker

http://img13.imageshack.us/img13/5814/amibroker.png


Thanks


Anil
 
Last edited:
#4
JUST click on blank space on the right of chart. u will have no bar selected then. the values shown will be the last bar. as and when time progresses the last bar values are displayed always.
 

hmsanil

Active Member
#5
JUST click on blank space on the right of chart. u will have no bar selected then. the values shown will be the last bar. as and when time progresses the last bar values are displayed always.
Thanks for your help, it was a help in someway, but is there any auto scroll utility in AB

Thanks

Anil
 
#6
Just press 'End'-key of your keyboard to get back to the newest candle. it can't get simpler than that. Other than that why do you need autoscroll? IMO, it's not needed because AB always shows the newest data if you are at the end position of your data (= current candle visible) and new data arrives continuously. In MT4 you need to press that stupid autoscroll button to always view the newest data. If you don't press that button then MT4 goes to sleep in regards to showing newest data. If you want to scroll back in MT4 to watch older data and if you have forgotten to turn off autoscroll then Mt4 snaps back to the newest candle and you can start from the beginning to scroll back. Yawn, I hate that f*$%ing MT4 button.
 
Last edited:
#7
Unnamed afl

Respected Sir DETWO

mai aapki unnamed afl try ki hai
afl me one side selling ya buying ho to continually up ya down arrow generate hote hai
kya yahi arrow’s nick ma afl me dikh sakate hai sir

Thank U

Warm Regards
chukare
 
Last edited:
#8
Re: Unnamed afl

Respected Sir DETWO

mai aapki unnamed afl try ki hai
afl me one side selling ya buying ho to continually up ya down arrow generate hote hai
kya yahi arrows nick ma afl me dikh sakate hai sir

Thank U

Warm Regards
chukare
Sorry, I don't understand. Please translate into English.
 
#9
Respected Sir DETWO

SIR I TRYING BELOW AFL, CAN U CHANGE (EXTEND) SUPPORT & STOP LOSS IN THIS AFL

THANKS

_SECTION_BEGIN("Unnamed 1");
Title = EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorWhite) +
" - " + Date() +" - "+"\n" +EncodeColor(colorWhite) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V);
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C) + "\n" + "\n" ;
threshold = 5;
uptrend = StochK(39,3) > StochD(39,3,3);
downtrend =StochK(39,3) < StochD(39,3,3);

Buy = uptrend AND H >= Ref(H,-1) + threshold; BuyPrice = Max(O,Ref(H,-1) + threshold);
Sell = downtrend AND L <= Ref(L,-1) - threshold; SellPrice = Min(O,Ref(L,-1) - threshold);

Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);

SetChartOptions(0, chartShowDates);
//Plot(C,"\nC",colorWhite,64);
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGr een,0,L,-15);
//PlotShapes(IIf(Buy,shapeHollowUpArrow,shapeNone),c olorWhite,0,L,-15);
PlotShapes(IIf(Buy,shapeHollowSmallCircle,shapeNon e),colorWhite,0,BuyPrice,0);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colo rRed,0,H,-15);
//PlotShapes(IIf(Sell,shapeHollowDownArrow,shapeNone ),colorWhite,0,H,-15);
PlotShapes(IIf(Sell,shapeHollowSmallCircle,shapeNo ne),colorWhite,0,SellPrice,0);


MYcolor = IIf( uptrend, colorBrightGreen, IIf(downtrend , colorRed, colorBlue));
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleCandle );
_SECTION_END();



BEST REGARDS
CHUKARE
 
#10
another way

line = DateNum() == ParamDate("last candle date", "09/02/2012", 0); //plot vertical line
Plot(line, "", colorLightBlue, styleHistogram | styleOwnScale | styleNoLabel | styleThick);

you can plot more info like this, and that info will always be displayed on top of the chart, even if you click around.
 

Similar threads