How to bootstrap Amibroker array variable

mastermind007

Well-Known Member
#11
Mastermind, you are such a nut. If you don't have a clue what you are talking about better keep your mouth shut!
Isn't your directive a contradictory statement in itself?

Scenario 1) If I have a clue, then my questions would have to be bound by the constraints imposed by the "clue".

Scenario 2) If I am clueless, I got no "clue" to constrain me, so I can ask anything!!!!

Further, my mouth has been totally shut. Its my fingers who are makin d noise!!!! Lastly, I can say whatever I want in whichever forum I want as long as I am not insulting anyone.

In this particular case, I did clearly express that I did not want to use loop and AMA2 function I did not know about. I've started programming in Ami less than 2-3 month ago but have programming background for over 20 years in mainstream languages.

So, kindly pack up your arrogance and hawk it elsewhere. If you reply on this thread anymore, I will treat it as an insult. Consider it as a warning!!!!
 

mastermind007

Well-Known Member
#12
If the formula come from metastock using PREV or it work using PREV.
No need to think too much, the looping is needed.
Formula came from a Excel Spreadsheet file available at NSE website.
 
#13
In this particular case, I did clearly express that I did not want to use loop and AMA2 function I did not know about. I've started programming in Ami less than 2-3 month ago but have programming background for over 20 years in mainstream languages.
Good for you that anyone on the Internet can call himself programmer with years of background.

You can write whatever you want. Fact remains that it is thread gibberish.

So, kindly pack up your arrogance and hawk it elsewhere. If you reply on this thread anymore, I will treat it as an insult. Consider it as a warning!!!!
Whoaa, I'm scared now. Not!
 

sumosanammain

Well-Known Member
#15
Forget opinions here.... I am feeling insulted that I cant even understand the kind of programming mentioned here... My God, I suddenly feel like a noob after reading such complicated posts.

Back to Amibroker manual for me :)
 

yusi

Well-Known Member
#16
While garyc1st has been good to present the solution to mm7's smoothed feedback equation, it got me thinking about how general iteratives are coded in Ami's array language (without using loops).

For example, and just a typical one, how would one do Fibonacci : F(n) = F(n-1) + F(n-2) ?
 

mastermind007

Well-Known Member
#17
While garyc1st has been good to present the solution to mm7's smoothed feedback equation, it got me thinking about how general iteratives are coded in Ami's array language (without using loops).

For example, and just a typical one, how would one do Fibonacci : F(n) = F(n-1) + F(n-2) ?
yusi,

You've caught on to what I was trying to convey!!!

I had looked at Fib example only on AFL site before posting this query. One example that I saved URL is here
http://www.amibroker.com/guide/afl/afl_view.php?id=107

AFL is not a general purpose language and so it may not always possible to do everything and I am OK with that. If I did desperately wanted Fib calculation to be dynamic, I'd explore Plug-in and write whatever I want in C++. On a personal level. I really appreciate the power that AFL offers for many of the routine trading tasks.

In trading world, One can get away with hard-coding Fibonacci Numbers because you typically stay within a finite set.

However, you cannot hard-code Volatility. Although MS seems to be able to compute it, its lot easier for me to pull volatility of all scrips into a text file from ami, so I will know exactly on how many scrips it is not accurate.
 
Last edited:

mastermind007

Well-Known Member
#18
Forget opinions here.... I am feeling insulted that I cant even understand the kind of programming mentioned here... My God, I suddenly feel like a noob after reading such complicated posts.

Back to Amibroker manual for me :)
Read the manual and it will always be rewarding one way or another. I
 

trash

Well-Known Member
#19

Similar threads