Bar average trade for Amibroker (AFL)
arthasfin almost 15 years ago Amibroker (AFL)
This formula is bars average
Screenshots
You cannot view the code for the following reasons:
- You must be a member.
8 comments
Leave Comment
Please login here to leave a comment.
great
simply great
great boss kindly say would the indicator will be invisisble???
IT IS BEST INDICATOR.BUT SELL ENTRY OR BUY ENTRY IT SHOWS BEFRE ENTRY.PLZ CORRECT IT
PLZ CHANGE THE FOMULA AT SellPrice=ValueWhen(Sell,SS,1);
BuyPrice=ValueWhen(Buy,BS,1);
Awesome! view in Hourly and Daily chart :)
Yes correct…really amazing AFL ….WOW….
what is so amazing? I like to note that when you define:
Buy=Cross(C,b);
Sell=Cross(S,C);
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);
you can calculate any sellprice or buyprice construction you like buy at the earliest you can buy at the close.
SellPrice=C;
BuyPrice=C;
if you cheat then ofcourse your backtest results look great. This code is nothing more than a cross of a 3 period moving average of the highs and lows. Because the buy and sellprice are defined wrong it seems like a great system. But it is not.