tradestation indicator to close trade in mt4

 

I'm fairy new to programming EAs. I've part complied an EA which uses MT4 to open a trade for Forex pairs. To exit the trade I would like to use the output from an Indicator on Tradestation on the corresponding Forex future. i.e. trading from MT4, stoploss set in MT4 EA, tradestation signal closes trade if certain output shown on chart from tradestation futures chart.

I'm trying to find out if this is possible, I can open trades through EA and at the moment I close them manually as a wait for the signal from tradestation.

Any ideas welcome.

Thanks

 
wilkintj: I'm trying to find out if this is possible,

Only if you can figure out a way for tradestation to send a message to mt4 (quick channel, http, files, mysql)

It be easier to code the indicator in mq4 (either into an indicator or the exit condition into your EA.) This assumes you have the tradestation logic and know or can guess what it does)

 

Thanks,

Unfortunately the indicator is locked, can't see the coding.

I'm thinking it may be better to code the whole thing in tradestation and trading directly on the futures currencies.