Simple Coding Help - No Promise.

Dear seniors,
I am new to Amibroker and its Afl. Please give me step by step instructions with Afl codes to create the spread charts of option of CE & PE of same strike price in Amibroker.
Thanking Your
 

okabira

Well-Known Member
@Happy_Singh @travi @LOVEENAJYOTHI @traderniftybull

pl. answer my questions ... if you have time.

1. I Want to learn AFL coding .. where do I start ?
2. refer me a reliable source to learn from net .. if any
3. how many days it should take to learn all functions .. ALL FFUNCTIONS ... for a guy starting from 0 level.
4. I need 1 year 1 min data .. any stock / Index / Commodity .. for backtest while coding .. where do I find it ?


PS : 4th problem solved by @alokdaga Ji .. thanks to him


Thanks !!
 
Last edited:
@Happy_Singh @travi @LOVEENAJYOTHI @traderniftybull

pl. answer my questions ... if you have time.

1. I Want to learn AFL coding .. where do I start ?
2. refer me a reliable source to learn from net .. if any
3. how many days it should take to learn all functions .. ALL FFUNCTIONS ... for a guy starting from 0 level.
4. I need 1 year 1 min data .. any stock / Index / Commodity .. for backtest while coding .. where do I find it ?

https://ufile.io/hd2cz

Thanks !!
 
Dear Happyji and Seniors ,
I am new to Amibroker and its AFL language. I Want Daily 5 EMA (High), 5 EMA (Close) and 5 EMA (Low) to be plotted on 1 Min. chart.
Whether the following codes are correct? If not I request you to correct the same.
Whether it will give Daily 5 EMA (High), 5 EMA (Close) and 5 EMA (Low) on all Intraday Chart?
Please help

_SECTION_BEGIN("EMA CLOSE DAILY");
TimeFrameSet(inDaily);
e5d= EMA(Close,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorWhite ), ParamStyle("Style", styleLine));
TimeFrameRestore();
_SECTION_END();

_SECTION_BEGIN("EMA HIGH DAILY");
TimeFrameSet(inDaily);
e5d= EMA(high,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorGreen ), ParamStyle("Style", styleDashed));
TimeFrameRestore();
_SECTION_END();

_SECTION_BEGIN("EMA LOW DAILY");
TimeFrameSet(inDaily);
e5d= EMA(Low,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorRed ), ParamStyle("Style", styleDashed));
TimeFrameRestore();
_SECTION_END();

Thanks
 
@Happy_Singh @travi @LOVEENAJYOTHI @traderniftybull

pl. answer my questions ... if you have time.

1. I Want to learn AFL coding .. where do I start ?
2. refer me a reliable source to learn from net .. if any
3. how many days it should take to learn all functions .. ALL FFUNCTIONS ... for a guy starting from 0 level.
4. I need 1 year 1 min data .. any stock / Index / Commodity .. for backtest while coding .. where do I find it ?


PS : 4th problem solved by @alokdaga Ji .. thanks to him


Thanks !!
bhai, I do not know even abc of afl coding
 

travi

Well-Known Member
@Happy_Singh @travi @LOVEENAJYOTHI @traderniftybull

pl. answer my questions ... if you have time.

1. I Want to learn AFL coding .. where do I start ?
2. refer me a reliable source to learn from net .. if any
3. how many days it should take to learn all functions .. ALL FFUNCTIONS ... for a guy starting from 0 level.
4. I need 1 year 1 min data .. any stock / Index / Commodity .. for backtest while coding .. where do I find it ?


PS : 4th problem solved by @alokdaga Ji .. thanks to him


Thanks !!
It's difficult to say not knowing your background. Have you ever programmed or written code before?
Are you proficient in formulas, even excel or VBA or anything?
AFL is fairly simple (precise) in terms of language & functions but it is the logic that is the building blocks of any programmer.

Specific to AFL, their online guide is the best to start https://www.amibroker.com/guide/a_catfunref.html
 

Similar threads