please help me convert mql too ninjascript - NinjaTrader Programming | futures io social day trading
futures io futures trading


please help me convert mql too ninjascript
Updated: Views / Replies:411 / 4
Created: by sNeJ88 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
 

please help me convert mql too ninjascript

  #1 (permalink)
Elite Member
Oldenburg Germany
 
Futures Experience: Master
Platform: Ninjatrader
Favorite Futures: FDAX
 
Posts: 9 since Jun 2013
Thanks: 0 given, 1 received

please help me convert mql too ninjascript

Hello Boy and Girls,

i need your help.

im not a programmer, so i need you.

can someone convert my mql indi too ninja indi?

for your help i share my system with you:

-------------------------------------------------------

#property copyright ""
#property link ""

#property indicator_chart_window

extern double start = 0.0;
extern int pips = 100;
extern int steps = 5;
extern bool DrawUp = true;
extern bool DrawDown = true;
extern bool Startpoint = true;
extern color dup = Green;
extern color dow = Red;
extern color startdraw = Black;

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
//----
int i;

if(DrawUp)
{
for(i=0; i<steps;i++)
{
Drawup("dup"+i,start+pips*i*Point);
}
}

if(DrawDown)
{
for(i=0; i<steps;i++)
{
Drawdown("dow"+i,start-pips*i*Point);
}
}

if(Startpoint)
{
{
Startpoint("startdraw",start);
}
}




//----
return(0);
}
//+------------------------------------------------------------------+


void Drawup(string name, double level)
{
ObjectDelete(name);
ObjectCreate(name, OBJ_HLINE, 0, 0, level);
ObjectSet(name, OBJPROP_STYLE, STYLE_SOLID);
ObjectSet(name, OBJPROP_WIDTH, 2);
ObjectSet(name, OBJPROP_COLOR, dup);
}

void Drawdown(string name, double level)
{
ObjectDelete(name);
ObjectCreate(name, OBJ_HLINE, 0, 0, level);
ObjectSet(name, OBJPROP_STYLE, STYLE_SOLID);
ObjectSet(name, OBJPROP_WIDTH, 2);
ObjectSet(name, OBJPROP_COLOR, dow);
}

void Startpoint(string name, double level)
{
ObjectDelete(name);
ObjectCreate(name, OBJ_HLINE, 0, 0, level);
ObjectSet(name, OBJPROP_STYLE, STYLE_SOLID);
ObjectSet(name, OBJPROP_WIDTH, 2);
ObjectSet(name, OBJPROP_COLOR, startdraw);
}

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.

 
  #3 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,501 since Sep 2013
Thanks: 1,706 given, 3,708 received
Forum Reputation: Legendary


Probably easier if you post a screen shot.

From what i can decode, it draws 5 lines up and down from the first point with 100 ticks difference ?

Reply With Quote
 
  #4 (permalink)
Elite Member
Oldenburg Germany
 
Futures Experience: Master
Platform: Ninjatrader
Favorite Futures: FDAX
 
Posts: 9 since Jun 2013
Thanks: 0 given, 1 received

yes thats it.

Screenshot by Lightshot


Black Line is start point / + - green/red lines in all same steps.

Black Line = Market Open

each red or green line is +-0,5% form open


Last edited by sNeJ88; June 15th, 2016 at 01:22 PM.
Reply With Quote
 
  #5 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,501 since Sep 2013
Thanks: 1,706 given, 3,708 received
Forum Reputation: Legendary

Probably easy to start with one of the existing and 'tweak' it to what you
want it to do..

https://futures.io/local_links_sort.php?catid=19&filter=&sort=d&page=1&pp=10&keyid=85

Also the built-in NT indicator 'pivots' could be used as a template to build your indicator

Reply With Quote
The following user says Thank You to rleplae for this post:

Reply



futures io > > > > > please help me convert mql too ninjascript

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert NinjaScript to ThinkScript Help devildriver6 ThinkOrSwim Programming 2 October 16th, 2015 08:03 PM
Need a programmer to convert ninjascript into tradestation stefp799 Hire a Consultant or Programmer 0 July 28th, 2015 12:39 PM
Looking for someone who can convert Ninjascript to thinkscript.. Anyone out there? jake0alexander ThinkOrSwim Programming 1 May 22nd, 2015 12:53 PM
Convert MQ4 indicator to Ninjascript rookietrader11 NinjaTrader Programming 3 May 3rd, 2013 06:35 PM
change from MQL to NinjaScript CoVal NinjaTrader Programming 4 January 30th, 2012 01:13 PM


All times are GMT -4. The time now is 09:48 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-12-15 in 0.09 seconds with 19 queries on phoenix via your IP 54.91.171.137