Amibroker For Dummies........a Beginner's Forum On How To Use Amibroker

will this thread serve its purpose?

  • yes

    Votes: 397 93.2%
  • no

    Votes: 29 6.8%

  • Total voters
    426

toocool

Well-Known Member
Ok here is the thing I wanted an ATR trailing stop loss afl which could be properly modified for number of bars and basic style of ATR trailing method which could be plotted right below candles for stop loss visibility easily and amibroker ATR thingy didn't work as it didn't have any settings .

Now I have got such an afl from some one and it looks fantastic but I don't know it's proper settings however it feels that the afl is very good and properly made

Whoever PM me the email I'd this afl will be sent and I need your inputs also here to how to properly use the beautiful trailing stop loss method , remember it's very much custom made and I didn't find it anywhere on the web , some one have sent me by mail and I want to share with all of you guys also amibroker experts are requested to share proper way to use it

So PM me all your email Id and it will be sent :)
 

toocool

Well-Known Member
_SECTION_BEGIN("ATR Stop");
P = ParamField("Price field",3);
ATRP = Param( "ATR Period", 5, 1, 10, 1 );
factor = Param( "Multiple", 2, -10, 10, 0.25 );
stop = P + ATR(ATRP) * factor ;
Plot( stop, "ATR Stop", ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
so here is the ATR trailing stop loss afl code , guys please share your views , 1 thing i am confused about it is that it doesnt get touched by candles at all , then how the stop loss will work ?
 

amitrandive

Well-Known Member
Hi,

Need some help.I have erroneously deleted MACD from the indicators list. How do I get it back.

Regards
Put this code in and save as MACD.Next time while deleting , Right Click and Click Delete Indicator

Code:
_SECTION_BEGIN("MACD");
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
Plot( ml = MACD(r1, r2), StrFormat(_SECTION_NAME()+"(%g,%g)", r1, r2), ParamColor("MACD color", colorRed ), ParamStyle("MACD style") );
Plot( sl = Signal(r1,r2,r3), "Signal" + _PARAM_VALUES(), ParamColor("Signal color", colorBlue ), ParamStyle("Signal style") );
Plot( ml-sl, "MACD Histogram", ParamColor("Histogram color", colorDefault ), styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleNoLabel, maskHistogram ) );
_SECTION_END();
 

rkripal

Well-Known Member
Hi
I tried installing amibroker 5.6. Everything is fine after installation. But when realtime data updating during market hours, it makes the system slow. Even data also updates slowly. any solution?

thanks
You don't provide any info what you are using. Built-in plugins run fast. You are probably using slow WINDOWS technology called OLE and import via OLE. Or you have a badly coded 3rd party real-time plugin. Or you use some weird setting in "Number of bars to load" .... Or you run a computer from 18th century. Or you use crappy slow AFL codes not being optimally coded and not being appropriate for realtime. No one knows since you offer only one sentence.
Hi trash

this is what i have...

Windows 7
Intel core i3
RAM 2 gb
system type 32- bit

Realtime data software: IBC

AFL: NO... no afl or indicator.. only price

Bars to load: 1000(dont think thats too much as using it with ami 5.1)

thanks
You missed this post? i guess this much info should be enough...
 

Similar threads