Remember
Register
AmiBroker Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Welcome to AmiBroker Q&A. Please note that we are moving totally to the Community Forum
forum.amibroker.com
any new questions should go there.
All categories
AmiBroker
(98)
AmiQuote
(41)
AFL Code Wizard
(14)
IBController
(2)
Data sources
(14)
Plugins
(2)
Testing
(6)
Related questions
Please help to write AFL code.
AFL code for Sell after N days since Buy signal
Why does setting max opened positions above 1 is making Portfolio Equity to remain unchanged?
How to run SetBacktestMode( backtestRotational ) for short trades instead of long ones?
How do we plot a graph in chart area and plot a line in a panel below it using one AFL script ?
Most popular tags
afl
amibroker
amiquote
data
yahoo
backtest
bid-ask
plot
optimize
days
volume
ib
setup
debugger
website
account
database
eod
tiingo
amibroker-migration
collection
documentation
monte-carlo
per-signal-metric
non-trading
linux-mint
day-trading
simulation
papermoney
scatter
websites
research
marketwatch
filters
#import
#utf8
internet-explorer
ie10
rotational
issue
dividends
spread
crossorders
trading
dividend
custom
name
volumedelta
downtick
uptick
backfill
posts
symbology
installation
tc2000
multi-time-frame
android
linking
charts
ask
multi-threading
email
forum
ascii
import
apple
full
user-interface
How to write in AFL "Enter long when price crosses above previous bars high (if buy conditions are fulfilled)"?
0
votes
How to write in AFL "Enter long when price crosses above previous bars high (if buy conditions are fulfilled)"?
afl
asked
Jun 13, 2017
in
AFL Code Wizard
by
YR
1 Answer
0
votes
Buy = Close > Ref( High, -1 ); // buy if close is higher than previous bar high
answered
Jun 13, 2017
by
anonymous
Thank you very much
...