Hello
I've been looking for an example of AFL code how to Scale in to a trade but I can't find any good and simple code that will explain for a newbie how to do it. Not in other Amibroker forum neither.
The trade setup could be a simple RSI(2) system:
r = rsi(2);
buy = cross(25, r);
sell = cross(r, 70);
But I want to use Scale in or some other AFL code to buy another unit (ex 100 shares or $) if RSI(2) is lower than 25 also the day after first buy/entry signal.
Can someone help me with this code?
Regards
donjoe
I've been looking for an example of AFL code how to Scale in to a trade but I can't find any good and simple code that will explain for a newbie how to do it. Not in other Amibroker forum neither.
The trade setup could be a simple RSI(2) system:
r = rsi(2);
buy = cross(25, r);
sell = cross(r, 70);
But I want to use Scale in or some other AFL code to buy another unit (ex 100 shares or $) if RSI(2) is lower than 25 also the day after first buy/entry signal.
Can someone help me with this code?
Regards
donjoe
Last edited: