Help needed in coding afl - AmiBroker |
futures io futures trading

Help needed in coding afl
Started: by milkysahai001 Views / Replies:514 / 0
Last Reply: Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Help needed in coding afl

  #1 (permalink)
Trading Apprentice
Futures Experience: Beginner
Platform: MultiCharts, AmiBroker
Favorite Futures: Stock Futures
Posts: 36 since Sep 2016
Thanks: 11 given, 2 received

Help needed in coding afl

below is my simple stochastics strategy.i am using this on symphony presto amifuse trading on this bar close price.
i want the trades to take place on next bar open price. but not able to do so. i have also attached the code for presto amifuse- for signal generation.
please help me in getting signals on next bar open.

P=Param("Periods", 14, 5, 30, 1);
PD=Param("Oscillator Avg", 3, 3, 30, 1);
PD1=Param("Smooth1", 3, 3, 30, 1);

avd=IIf(C>Ref(res,(RP*-1)), 1, IIf(C<Ref(sup,(RP*-1)), -1, 0));
Plot(tsl, "trend", colorWhite, styleStaircase);

D1=MA(D, PD1);

Buy=((Cross(D, D1) AND avn==1));
Short=((Cross(D1, D) AND avn==-1));

Buy=ExRem(Buy, Sell);
Sell=ExRem(Sell, Buy);
Short=ExRem(Short, Cover);
Cover=ExRem(Cover, Short);

PlotShapes(IIf(LongSignal, shapeUpArrow, shapeNone), colorWhite);
PlotShapes(IIf(ShortSignal, shapeDownArrow, shapeNone), colorYellow);
PlotShapes(IIf(Sellsignal, shapeStar, shapeNone), colorYellow);
PlotShapes(IIf(CoverSignal, shapeStar, shapeNone), colorWhite);





Reply With Quote


futures io > > > > Help needed in coding afl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

PTMC Protrader Platform First Look w/Sergey Sokolov

Elite only

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)


Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed for NT7 coding mphoenix NinjaTrader Programming 2 December 18th, 2016 05:41 PM
help needed in coding a variable in afl. milkysahai001 AmiBroker 6 December 15th, 2016 04:54 AM
help needed in coding some variables in easy/powerlanguage! milkysahai001 MultiCharts 3 November 16th, 2016 04:49 AM
Little coding help needed Abde NinjaTrader 8 April 10th, 2014 11:45 AM
Stochastics coding help needed! RodS NinjaTrader Programming 33 October 24th, 2009 05:58 PM

All times are GMT -4. The time now is 09:48 AM.

no new posts
Page generated 2017-03-25 in 0.05 seconds with 21 queries on phoenix via your IP