Trade setups migrating from amibroker to ninjatrader - NinjaTrader Programming | futures io social day trading
futures io futures trading


Trade setups migrating from amibroker to ninjatrader
Updated: Views / Replies:232 / 1
Created: by sherbaaz Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Trade setups migrating from amibroker to ninjatrader

  #1 (permalink)
Trading Apprentice
ahmedabad/india
 
Futures Experience: Intermediate
Platform: tradeguider
Favorite Futures: stock futures
 
Posts: 1 since Feb 2013
Thanks: 0 given, 0 received

Trade setups migrating from amibroker to ninjatrader

Hi,

I am full time trader migrating from amibroker to ninjatrader. I have specific trade setups in amibroker which i want to use in N7 as well. But I dont have any knowledge of NT coding.

I request coders to please help me with the codes in NT.

following are the amibroker codes. I am looking for buy/sell signals above/below candles.

regds,s

 
Code
extrA = C < O;
extrB = Ref(C, -1) > Ref(O, -1); // -- I am assuming that you want yesterday's close to be > yesterday's open
barRange = H-L;
avgRange50 = MA(barRange, 50);
extrC = Ref(barRange, -1) > (2* Ref(avgRange50, -1));
body = Abs(C - O);//this is common condition
smallBody = (body >= (0.5 * barRange)) AND (body <= (0.85 * barRange));
extrD = Ref(smallBody, -1);
Cent = abs(HIGH + LOW) / 2;

extrA1 = C>O;
extrB1 = Ref(C, -1) < Ref(O, -1);
extrC1 = Ref(barRange, -1) > (2* Ref(avgRange50, -1));
extrD1 = Ref(smallBody, -1);

buy = extrA AND extrB AND extrC AND extrD;
Sell = extrA1 AND extrB1 AND extrC1 AND extrD1;
PlotShapes(IIf(Buy,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
PlotShapes(IIf(sell,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////

trA = C < O;
trB = (H - O) >= (3.25 * (O - C));
trC = (C - L) <= (0.35 * (H - L));
barRange = H-L;
trD = barRange >= (1.1 * MA(barRange, 50));

trA1 = C>O;
trB1 = (O-L)>=(3.25*(C-O));
trC1 = (H-C)<=(0.35*(H-L));
trD1 = barRange >= (1.1 * MA(barRange, 50));
Buy1 = trA AND trB AND trC AND trD;
Sell1 = trA1 AND trB1 AND trC1 AND trD1;
PlotShapes(IIf(Buy1,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
PlotShapes(IIf(sell1,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
orA = C < O;
orB = H > Ref(H, -1);
orC = L < Ref(L, -1);
barRange = H-L;
orD = barRange >= (1.25 * MA(barRange, 50));
orE = C < Ref(L, -1);
orF = Ref(C,-1)>Ref(O,-1);

orA1 = C > O;
orB1 = H > Ref(H, -1);
orC1 = L < Ref(L, -1);
barRange3 = H-L;
orD1 = barRange3 >= (1.25 * MA(barRange3, 50));
orE1 = C > Ref(H, -1);
orF1 = Ref(C,-1)<Ref(O,-1);

Buy2= orA AND orB AND orC AND orD AND orE AND orF;
Sell2= orA1 AND orB1 AND orC1 AND orD1 AND orE1 AND orF1;
PlotShapes(IIf(Buy2,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
PlotShapes(IIf(Sell2,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
barRange4 = H-L;
djA = barRange4 <= (0.65 * MA(barRange4, 50));
body2 = Abs(C - O);
smallBody2 = (body2 <= (0.1 * barRange4)); 
djB = smallBody2;
Buy3= djA AND djB;
PlotShapes(IIf(Buy3,shapeSmallCircle,shapeNone),colorwhite, 0,Cent, Offset= 0);
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Reply



futures io > > > > > Trade setups migrating from amibroker to ninjatrader

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Alternative Views on Traditional Tools w/Rhonda Jones

Elite only

FuturesTrader71: TBA

Elite only

Al Brooks: TBA

Elite only

Jigsaw Trading: TBA

Oct 19

RandBots: TBA

Oct 24
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmiBroker code for ninjatrader curleta NinjaTrader Programming 1 May 2nd, 2015 09:19 PM
Help with Migrating Ninjatrader 7 & Sierra Chart to new computer issues. sandptrader Tech Support 11 January 13th, 2015 02:43 PM
Is it profitable to trade the standard TS123 setups tradereight MTPredictor 3 October 26th, 2012 02:31 PM
how does one stay focused while watching charts waiting for trade setups? trendisyourfriend The Elite Circle 7 July 16th, 2012 09:38 AM
[NinjaTrader]    NinjaTrader and Amibroker excite Platforms and Indicators 3 June 10th, 2011 12:43 AM


All times are GMT -4. The time now is 03:43 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-09-21 in 0.06 seconds with 19 queries on phoenix via your IP 54.198.247.44