Skip to main content

Golden 45 for Amibroker (AFL)

mvsgautam2004 over 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 3)
  • Tags:
    trading system, amibroker

Sell if breaks the low buy if breaks high

Indicator / Formula

Copy & Paste Friendly
breakoutime = 100000;
afterbreakout0 = Cross(TimeNum(),100000);
afterbreakout1 = TimeNum()>=100000;
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
ORBHigh = ValueWhen(afterbreakout0,highestoftheday,1);
ORBLow = ValueWhen(afterbreakout0,lowestoftheday,1);
Buy= Cross(C,orbhigh) AND afterbreakout1;
Sell = Cross(orblow,C) AND afterbreakout1;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);

Short=Cross(C,ORblow) AND afterbreakout1;
Cover=Cross(ORbhigh,C) AND afterbreakout1;

Plot(C,"",colorYellow,styleBar);
PlotShapes( shapeUpArrow * Buy, colorGreen,0,L,-12);
PlotShapes( shapeDownArrow * Sell, colorRed,0,H,-12);
Plot(afterbreakout0,"",colorBlue,styleHistogram|styleOwnScale);
Plot(ORBHigh,"",colorGreen,styleDots);
Plot(ORBLow,"",colorRed,styleDots);

1 comments

about 13 years ago

sir,

mvsgautam2004

check your formula ,, its goods ,,,

FOLLOW THE TREND …. PRINCIPLE

its good ,,

if, can you help me ,, for NEW AFL WEIGHTING,

5min charts

DAILY HIGH-LOW with 0.05%tollrence
HOURLY high-low wiht 5 rs tollrence
with

ema 3 * 12 crossover
ema 12 * 78 crossover

BUY SELL SIGNAL
this is my study ,,, learning, if, you guide me,,, good for me,,

PLZ CALL ,, OR GIVE YOUR NO.

thanks

MOHAN JAMKHEDKAR ,
MO.89567383385
E ID : mohanjamkhedkar@gamil.com

Leave Comment

Please login here to leave a comment.