A little new to all of this, so trying to make sense of everything. I sincerely appreciate all of the responses. Most of them, I do not yet know how to work with. Very much appreciate that "something is possible". I did receive an email from Ninja Trader that they appreciate my desire and have passed it along for consideration for future updates.
What is "ChartTrader"? I do have not seen it, and cannot find it. Is this in NT?
BTW, I have demo fx account w/MB Trading, and demo NT. Hoping to be able to paper trade both of them somehow.
They are arrays. Use Intellisence to see what data is available. In the NT code editor, type 'NinjaTrader.Cbi.Globals.Accounts.Positions.' (No quotes). Once you type the '.' (dot) and stop, the Intellisence will pop up a scrollable list with brief explanations, for available fields, methods, events, etc for the object preceding the '.' This works for all sorts of objects in NT. That is the way I have discovered most of the non-standard code that I use.
The following 2 users say Thank You to monpere for this post:
So, I guess this is the question at this point. I need a reliable way to get in the market, and stay there for extended periods of time (hours, weeks, even months at a time), and have a reliable computer system that is not going to go down or reboot or something weird, and actually execute the exit strategy.
Is there a place (broker) that can do this?
How much would it cost me to build a "system" to do this?
Is there someone on this forum that does this kind of thing?
Very much appreciate being here, and would love to be able to just code it up myself, but my programming skills are far from ready at this point.
My other concern is that it appears MB Trading logs me off my demo account. My guess is a strategy is useless if you are continually being logged off. How do we maintain access to the account and make sure we are executing "automated" trades?
Are you planning on swing trading? Does MB Trading log you off even if you have a position open? Depending on how the "exit strategy" is coded, you might not need to worry about short term disconnects. If it is an actual strategy, then yes this would be a problem. If it is ran through an indicator that accesses your current position, then getting disconnected would not cause a problem. Really depends on how it is coded.
MB shuts down every day for maintenance. So I would have to log on again. There is no way to "stay connected."
My system is pretty simple get in, follow the trend (stay in), when price crosses "x" EMA or SMA, get out. So, I basically just need a way to insure that once I have committed, I have a way out whether I am there or not at the helm. No, I don't think stop loss or TSL is the way to go. It will definitely get hit, that way.
I am wondering if there are services available who will babysit your trades for you in Forex. I know it sounds "wimpy", but if I am new to this and can't seem to figure this out, I am sure there are a lot of other people just as frustrated as I am.
If I had a staff to stay up all night and watch trades for me...
Do you guys on the West Coast stay up from midnight to 9am every morning so you can watch your trades? I'd love to see how everyone here solves that problem. Or do you just move to London or East Coast?
Well if MB Trading shuts down, you couldn't monitor the trades regardless. Have you maybe looked at other brokers that do not shut down if you are so worried about it? I could not have a broker that crossed my mind more than once a month. How long do they shut down for?
There are all sorts of issues with MB Trading if your want to do anything innovative. Their systems and infrastructure are just antiquated. They have to shutdown after market everyday for maintenance, their responses to order executions and modifications are slow, they have regular unscheduled outages, the market will go through your orders by several ticks and you will not get fills. The only redeeming things I found were are that you can trade micro lots, and they pay you when you provide liquidity with limit orders. That's been my experience with them.
You can do most the things you want with various other brokers. I personally use Interactive Brokers and Mirus Futures to reliably do some of these things.
Ok...for me this is uncharted territory. I have the buttons working and attempting to add the code that will manage the trade. However, I'm having issues.
However, I get an error saying "You are accessing an index with a value that is invalid since its out of range." Which doesn't surprise me. However, how do I set Accounts and Positions to something meaningful so I don't get that error? I had to swallow a bit of pride just to ask this question because I should be able to figure this out without asking. But, not getting anywhere.