Simple Coding Help - No Promise.

Nehal_s143

Well-Known Member
ooe nihal sing ji ab don't problem ,and problem solving nothing any problem ,,,,,,,,ooooo asal me ye hua when jab me daily time frame me is afl ko use kar raha tha tab isme 4 to 5 error show ho raha tha but jab me ise 1 to 1 hourly chart pe use kia to chalne laga "don't time waste in this afl "

ye to mera time pass karne ka jariya he .afl -sfl me kuch rakha nahi he ye to bus nain -sukh means only direction deta he or kuch nahi agar afl ke thru trade karna he to mota amount hona chahiye direction ke hisab se average karte rahana chahiye and long time frame tak wait karne ki soch honi chahiye ok thode se margin amount se kaam chalne wala nahiiiiiii. 95 % tradero ki mentalty short time frame ki hoti he or jaldi se jaldi book profit karte he lakin jo thoda profit banaye rahte he oo bhi kuch dino me gayab ho jata he :mad: are market me to volatiliy hoti rahti he ...and tradero me long time frame ke liye dhairya bhi honi chahiye .or isliye moke ka wait bhi karna padega .......anubhav ke saath -saath experience bhi aata he .........but ye itna easy nahi nahiiiiiiiiiiiiii........
but apun time ke sath-sath kuch-kuch bahut shikh rahlila (kuch jayada hi ho gaya bhasad sorry) :p:p:p:D:D :lol:
Jamesh bond people come here for serious help/solution of afl coding and not for time pass. kindly avoid making post for TP
 
Jamesh bond people come here for serious help/solution of afl coding and not for time pass. kindly avoid making post for TP
satsriyacaal sorryyyyyyyyyyyyyy nihal sing ji mere ko kisi ne ques. pucha hi to ans. kahe ka

jawab dena :annoyed: bole to tention free rahne ka :D or ek baat abhi me backtesting ka a,b,c,d bhi nahi malum :confused:(learning

time),,,,jabbhi ise try karta hu to mera mind kharb ho jata he :mad:

uper wala post mere out of mind ka bheje me ghusha hi nahi (ye kya 300 ka moving average ..oh god bachaye )but thik bhi he sayad :lol::lol::rofl::rofl:
 
guys very simple question(s)......(maybe no coding is needed coz its a very basic indicator)
want to plot this in amibroker:
slow stochastics (10,3,3)
in ami, there are 2 options: stochastics %D, stochastics %K
which one should i use? why are both of them seperate? i mean it should be like only 1 indicator, the "stochastic oscillator" will plot both %k and %d? (and how to plot the fast stochastics- though thats not my current requirement)

the same question seems to have been asked almost 6 yrs ago by someone else too!
http://www.traderji.com/amibroker/23937-slow-stochastics-right-one.html
 
Last edited:
Hi All,

I need information about installing DLL files in amibroker. I serached on google but could not find a link which gives detailed information. I have created DLL file using VB and would like to use them in Amibroker. How it can be done?

Appreciate detailed information on this topic. Thank you!
 

trash

Well-Known Member
Hi All,

I need information about installing DLL files in amibroker. I serached on google but could not find a link which gives detailed information. I have created DLL file using VB and would like to use them in Amibroker. How it can be done?

Appreciate detailed information on this topic. Thank you!
https://www.amibroker.com/guide/a_aflcom.html Don't forget to register your COM plugin.


On the other hand if you wanna create C/C++ plugins then look at the help file of the ADK of Amibroker http://www.amibroker.com/bin/ADK.zip
 
Last edited:

toocool

Well-Known Member
hey guys , there must be a way of plotting nifty spot index volume (which is combined 50 nifty shares )............hope fully its possible in amibroker ?

thanks
 

manishchan

Well-Known Member
Friends... can someone plz help me fix this a little... I want to make the histogram on the MACD a little thicker that it currently is.. unable to find code to add to do dt... this is the default MACD from Ami..

_SECTION_BEGIN("MACD");
SetChartBkColor(ParamColor("Panel color ",colorLightGrey));
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
m1 = MACD(r1, r2);
s1 = Signal(r1,r2,r3);
difference = m1-s1;
Plot( m1, StrFormat(_SECTION_NAME()+"(%g,%g)", r1, r2), ParamColor("MACD color", colorRed ), ParamStyle("MACD style") );
Plot( s1, "Signal" + _PARAM_VALUES(), ParamColor("Signal color", colorBlue ), ParamStyle("Signal style") );
Color=IIf(difference > 0,colorGreen,colorRed);
Plot(difference, "MACD Histogram", Color, styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleThick | styleNoLabel, maskHistogram ) );
_SECTION_END();
 
Last edited:

amitrandive

Well-Known Member
Seniors,
Please provide me the AFL code .
In the Candlestick Chart I need dotted horizontal Green and Red Line for the following
Point A = (PreDayHigh-PreDayLow) ------ that is the Range of previous day
PointB= (PointA * 0.382)
PointC= (PointA * 0.618)
I need the following two Horizontal Lines in Today’s Chart
1. Green Dotted Line at (Previous day Low + PointC)
2. Red Dotted Line at (Previous day Low + Point B)
With Thanks
RaniHosur

Try this


Code:
TimeFrameSet(inDaily);
H1= Ref(H,-1) ;
L1=Ref(L,-1);
C1= Ref(C,-1);
R1=(H1-L1);
TU1=L1+(R1*0.618);
TU2=L1+(R1*0.382);
TimeFrameRestore();
Plot(TimeFrameExpand(H1,inDaily,expandFirst),"Previous day high",colorBlue,styleDots);
Plot(TimeFrameExpand(L1,inDaily,expandFirst),"Previous day low",colorPink,styleDots);
Plot(TimeFrameExpand(TU1,inDaily,expandFirst),"Target1",colorGreen,styleDots);
Plot(TimeFrameExpand(TU2,inDaily,expandFirst),"Target2",colorRed,styleDots);
GfxTextOut(Name(), Status("pxwidth")/2, Status("pxheight")/3 );

_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();
 

Similar threads