Recent Posts

Pages: [1] 2 3 ... 10
1
Amibroker Help / Alert help
« Last post by savio on February 18, 2017, 12:05:31 pm »
Hello everyone,

Anyone can please help me to get alert if price trad above hammer high.
more explanation in the attached image.

this is the code that i use for hammer pattern


Code: [Select]
uppershadow = H - Max(O,C);
body = abs(O-C);
lowerShadow = Min(O,C) - L;

Hammer = L < Ref(L,-1) AND uppershadow < body*3 AND lowerShadow > body*4 ;


Any help will be highly appreciated

2
Trading System Discussion / Every Trade invest the same amount? Please help!
« Last post by abnovice on February 13, 2017, 01:03:38 pm »
Dear Friends,


i wanna code a simple trading System on weekly charts for the sp500 index with the envelope indicator.
the idea: taking a simple 40 week moving average and build two bands with plus 3 %  and minus 3 % of the simple 40 week moving average.

(Long only System)
buy: Close > upperband
sell: Close < lowerband


when the System goes long it should buy 10.000 usd irrespective from the total equity

how i have to code this?

At the moment the system every time invest 100 % of the euity`?



some further question for understanding: to proof ist the Parameters a stable enough- i thougt i optimize the System with the, msci world, msci europe and msci USA too?


i would take the best average Parameters of all 4 indices (sp500, msci world, msci europe, msci USA) to trade the sp500.


what do you think of the idea? (i know ist my Option, i only would aks if the logic is smart oder stupid :-) thank you so much for short help!


PS: i´m novice with amibroker so i would be glas for every help i get to learn the first steps.


Dear Marcus


Code: [Select]
// Project Moving Average Band System
// Tradingsystem "long only" for the SP500  ETF
// Goal: Long Term Capital Growth

// Definition Optimize Variable
MALength = Optimize( "SMA", 30, 35, 45, 1 );
// Optimizes from 20 to 60 in 1 steps inital is 40

MAWidth = Optimize( "MAW", 3, 2.5, 5, 0.1 );
// Optimizes from 1 % to 7.5% in 0.1 % steps inital is 3.0 %


// Definition Simple Moving Average
C1 = MA(C, MALength);
// Definition Close
C2 = C;
// Definition Upper Band
C3 = C1*MAWidth/100+C1;
//Definition Lower Band
C4 = C1-C1*MAWidth/100;
// Definition Buy Signal
Buy = Cross(C2,C3);
// Defintion Sell Signal
Sell = Cross(C4,C2);

Plot( C, "C", colorBlack, styleCandle );
e = Equity();
Plot( e, "Equity", colorGreen, styleLine | styleOwnScale );
3
Introduction / I´m new
« Last post by abnovice on February 13, 2017, 12:01:07 pm »
Dear Friends,
i´m new here and a Trading System Beginner.
I don´t wanna get rich fast - and don´t code the super system.
My dream ist stable weekly system for sp500 with little higher return and much less draw down in bear markets.
i wanna be long in bullmarktes and wanna be flat in bear markets.

i would be glad for every help i can get from you.
ich work with ab 5.6 standard version at the moment
and tai pan end of day qoutes.

marcus
4
Introduction / Hi guys, im a noob
« Last post by jebediahspringfield on February 10, 2017, 11:47:43 pm »
Hi, I recently discovered AmiBroker and have had a quick look over it and think that it might just be final piece to a puzzle I created myself (can elaborate on this puzzle at a later time.) I just want to point out that as a noob my lack of understanding of the program it self may cause me to ask "silly" questions so please bear with me. Speaking of silly questions here's the first one, which forum should I post questions relating to using/learning AFL code or just questions about the capabilities of AmiBroker when creating my own custom indicators I wish to create?

Thank you, Jeb.

EDIT: I have programming experience in php & SQL which I used to create a set of formulas (on delayed prices) that appear to be 95% accurate (when tested) which I wish to try use in AmiBroker, hoping that database creation is something I can do with this program. A lot of my questions will probably be in relation to finding the AFL equivalent to the scripts I already have written. cheers
5
Amibroker Help / Re: Managing Signal Arrows
« Last post by Aminerd on February 02, 2017, 05:40:09 pm »
Hello everyone,

I am wondering if it is possible to move the signal arrows further below the candles (in the case of the 'Buy' arrows) and further above the candles (in the case of 'Sell' arrows).

How about reading the documentation? https://www.amibroker.com/guide/afl/plotshapes.html See 'offset' for example

Also, is there a way I can enlarge, i.e. 'lengthen' the arrows? For example, I would be happy to have the arrows appear 2X or 3X in length.

Thanks very much to all.

Joe

Instead of PlotShapes you may use PlotTextSetFont with Wingdings and Webdings font or Unicode.
As for Unicode http://www.amibroker.com/devlog/wp-content/uploads/2015/03/readme5940.html
Or you may use Gfx functions in order to draw custom shapes.

BTW this is not the official AmiBroker forum (just saying in case you thought so).
6
Amibroker Help / Managing Signal Arrows
« Last post by kwinana1023 on February 02, 2017, 07:27:07 am »
Hello everyone,

I am wondering if it is possible to move the signal arrows further below the candles (in the case of the 'Buy' arrows) and further above the candles (in the case of 'Sell' arrows).

Also, is there a way I can enlarge, i.e. 'lengthen' the arrows? For example, I would be happy to have the arrows appear 2X or 3X in length.

Thanks very much to all.

Joe
7
Amibroker Help / Re: PAID AFL
« Last post by Aminerd on February 01, 2017, 01:42:32 pm »
I am ready to provide the good afl. vsadagopan2004@yahoo.co.in

Lie. Indians are unable to write good AFLs.
8
Amibroker Help / Re: PAID AFL
« Last post by SADAI on February 01, 2017, 11:09:58 am »
I am ready to provide the good afl. vsadagopan2004@yahoo.co.in
9
Amibroker Help / PAID AFL
« Last post by nifty46 on January 31, 2017, 12:30:40 pm »
I wants AFL code as my simple logic, And i am ready to pay 2000/-Indian rupees for AFL code. "EXPERT WELCOME" Image attached, Plot and Explorer i need. For ask logic PM me
10
Trading System Discussion / Re: 90% accurate system
« Last post by praveen5344 on January 16, 2017, 11:17:27 pm »
it has got lot of ref code which indicates that results repaint with future price..........has anyone tested it in realtime data
Pages: [1] 2 3 ... 10