please create this afl

#1
hi,
I am using this software for the first time. and i need some help in writing the codes.
what should I write for:

1) if i want to sell on next day open?

2) if there is buy/sell signal inweekly then buy/sell for every signal indaily ?

I am using AMI BROKER 5.30

Would be really thankful for your help!

regards,
DHAVAL
 

shivangi77

Well-Known Member
#2
hi,
I am using this software for the first time. and i need some help in writing the codes.
what should I write for:

1) if i want to sell on next day open?
Use reference function, I think this will help.
like ref(O,1)


2) if there is buy/sell signal inweekly then buy/sell for every signal indaily ?
Use function TimeFrameSet( interval)
where interval can be:
in1Minute
in5Minute
in15Minute
inHourly
inDaily
inWeekly
inMonthly
inQuarterly
inYearly



I am using AMI BROKER 5.30

Would be really thankful for your help!

regards,
DHAVAL
I think this will be of little help
 

Similar threads