Skip to main content

PDI VeryShortTerm Simple Trading Signal.afl for Amibroker (AFL)

hanyaboy about 15 years ago Amibroker (AFL)

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

Very simple signal using +DI for very short term trading.
Just overlay to your price chart and adjust the parameters to your needs.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("PDI VeryShortTerm Simple Trading Signal");
range = Param("Periods", 2, 2, 50, 1 );
p=PDI(range);
pbuy  = Param("Buy if +DI <", 15, 5, 25, 1 );
psell = Param("Sell if +DI >", 45, 25, 75, 1 );

Buy 	= p > Ref(p,-1) AND Ref(p,-1) < Ref(p,-2) AND Ref(p,-1) < pbuy ;
Sell 	= p < Ref(p,-1) AND Ref(p,-1) > Ref(p,-2) AND Ref(p,-1) > psell ;
Buy 	= ExRem(Buy,Sell);
Sell 	= ExRem(Sell,Buy);

PlotShapes(Buy*shapeUpArrow,colorBrightGreen,0,Low,Offset=-20);
PlotShapes(Sell*shapeDownArrow,colorRed,0,High,Offset=-20);
_SECTION_END();

5 comments

over 14 years ago

useless roahit160 some body sharing somethink dont irritate hime encorage him you

useless roahit160

wast useless roahit160

over 14 years ago

Rajaswamy what are you talking.The signals are absolutely stupid. bankrupt afl.

over 14 years ago

Rajaswamy you follow this and sure i can give you in writing you will become a pauper.

Leave Comment

Please login here to leave a comment.