Expert Advisor question

#1
Hello all, I'm working on getting some auto trading going and need a little help/advice. Ok here's what i am doing and what i want to do.

I have used one of the built-in experts, Equis-MACD, and modified this to use with an auto trading robot. The code I currently have for the BUY signal is as follows:

ExtFml("TradeBoltMS.MakeMyPosition", "EUR/USD", 10000, "MACD 1", LastValue(Cross(MACD(),Mov(MACD(),9,E))));

Cross(MACD(),Mov(MACD(),9,E))



This sends a signal to my robot and submits a trade. What I want to do is once this signal is sent I want this to be followed by another signal to close or flatten the trade once the currency goes in my favor 20pips. I know that following this with a SELL signal would do this in my case but I want to reserve the SELL signal so I can do the exact same thing in the opposite direction.

Is this possible? Can someone help me out with it? Are there any good resources online that I can access for configuring these things?

Thanks!
 
U

uasish

Guest
#3
joshcr,
One is Long;
Two is Exit;
Three is Short ;
Four is Buy Cover;
This can be done with variables (if your version of MS is non registered);alternatively by Dlls .
Ask Equis they provide this Dll Free to registered user.
Asish
 

Similar threads