MQL4 - automated forex trading   /  

Forum

trigger Open Trade and Close Trade in Indicator, Is it Possible?

Back to topics list To post a new topic, please log in or register

avatar
1631
DxdCn 2006.09.08 07:38 
I have a very simple trade strategy.
But I do not konow why it can not run in expert mode.

But my indicator work well.
Is it possible to " trigger Open Trade and Close Trade " from "indicator" ?

I only need Open and Close order in indicator.
only have a little trade signals in a long time,
we know indicator is calculated continuously,
why need Expert continuous to check indicator also?

I think use indicator to " trigger " Open Trade and Close Trade is more better !!!


Testing Visualization: Manual Trading

Testing Visualization: Manual Trading

Testing manual strategies on history. Check how your trading algorithm works turning a deaf ear to programming niceties!


avatar
9
cubesteak 2006.09.08 11:20 
I don't think so, but easy enough to try. Make a quick indicator with a single OpenTrade in the Start() loop. If it doesn't do anything, you have your answer. :)

avatar
43
zolero 2006.09.08 12:27 
why there is an expert anyway if you could open and close trade frm indicator? they are very different things designed for different purposes... you can trasport your piano with a ferrari (theoretically at least) but it's not designed for that and there are better ways to do that...

avatar
1631
DxdCn 2006.09.08 13:06 
they are very different things designed for different purposes...

:)
why think so ?
they are related,
in fact, most time, use indicator to judge when to order !!!!
so set order when calculate indicator is reasonable.

in MT , indicator is designed for (1) chart display, and (2) expert use,

I only want OrderSend(....) and OrderClose(.....) function can yse in indicator.

in MT help, no explain which functions can be used both in expert and indicator.


Back to topics list  

To add comments, please log in or register