Learning AmiBroker

#1
Hi,

I am Learning AFL and need some help.

Can someone guide me for the following:
I am calculating Opening 15 minute High and Low. And want to trade rest of the day using those values. But in Day 2 and so on, for first 15 minutes, these variables value should be 0. Currently, it is retaining previous day's values. How can I reset it?

Here's part of my AFL:
TimeFrameSet( in1Minute );

tn = TimeNum();

ObservationStartTime = 91559;
ObservationEndtime = 92959;

StartBar = tn == ObservationStartTime;
EndBar = tn == ObservationEndtime;


Opening15MinHigh = ValueWhen( EndBar, HighestSince( StartBar, High ) );
Opening15MinLow = ValueWhen( EndBar, LowestSince( StartBar, Low ) );


Please guide how can I achieve this?

Thanks
 
#2
Seniors, please help. It's Sunday today and I want to complete this AFL today only.

This is the first hurdle I'm getting. I'm sure there will be others also when I proceed forward.


Sent from my iPhone using Tapatalk
 
#3
Dear Tarun
As you are looking for matter related to Ami , I am also posting my problem here. My amibroker is not saving data and showing not registered. I tried all like asked for crack version and also formatted my PC but nothing helped. Plz help in matter if you have some idea.
 
#4
I also have an unregistered copy. I am learning Ami. If it suits my needs, I'd like to buy it. I don't promote cracked version.
But I saw a thread last night in TJ only to save data for unregistered versions, there is an AFL. I didn't try it though.


Sent from my iPhone using Tapatalk
 
#7
If you are really interested in learning Amibroker coding. Visit Algoji.com.

I am a trader and have been facing problems coding with Amibroker for long, specially looping.

Have attended several more expensive coding classes or seminars, but could never got hold of Looping.

Saurabh put it upfront in such a manner that it became easily understandable. Now I wonder, it was so easy.

If you want to learn Coding, Algoji.com is the best.

There next batch starts in March , use my referral code RUPE9087 to get the course for only Rs.16000.
 
#8
Hey; If you have very large amount of money and is lazy to learn programming then I would say go ahead and buy amibroker else dont waste your valuable money on that software. use PYTHON it will be initially hard but its worth the time. One more time dont waste money in AMIBROKER.


If you are really interested in learning Amibroker coding. Visit Algoji.com.

I am a trader and have been facing problems coding with Amibroker for long, specially looping.

Have attended several more expensive coding classes or seminars, but could never got hold of Looping.

Saurabh put it upfront in such a manner that it became easily understandable. Now I wonder, it was so easy.

If you want to learn Coding, Algoji.com is the best.

There next batch starts in March , use my referral code RUPE9087 to get the course for only Rs.16000.

This is the simplest way I can teach you for loop.

This is a pseudo code


Code:
for i  till(10)
    print i
its output will be

Code:
0
1
2
3
4
5
6
7
8
9
what it say is
  1. till the variable reaches i=10
  2. print i th value
  3. Then increase the i by one (i=i+1)
  4. if i=10 then exit loop
 

OneThatGotAway

Well-Known Member
#9
If you using a that version (and i mean that version of amibroker) you first need to
block amibroker.com in your windows host file
Google it how to block website using windows host file
then delete amibroker directory reinstall ami and your that verison
only then it will work :xD
Good luck

if everything else fails u can always look at my signature that will surely help ya
 
Last edited:

Similar threads