Search found 6 matches

by MrPip
Tue Sep 20, 2011 6:16 pm
Forum: MetaTrader
Topic: Help with special order entry in MQL4
Replies: 10
Views: 8324
Gender: Male

The buy stop is ok for half of what I want to do, but it's still missing the aspect that says "I'll pay this much for it and no more". The buy stop still gets me market price instead of what I say I'll get in at, so I slip a few pips each time. I just liked how in MBT Desktop Pro you coul...
by MrPip
Sat Sep 17, 2011 9:39 am
Forum: MetaTrader
Topic: Help with special order entry in MQL4
Replies: 10
Views: 8324
Gender: Male

Then try using BUY_STOP instead of BUY_LIMIT.
I have written scripts to scale in to trades that work just fine, placing an initial order and up to 5 more using different pip intervals above for buy or below for sell.

Robert
by MrPip
Sat Sep 17, 2011 9:31 am
Forum: MetaTrader
Topic: Opening a trade @ a specific time?
Replies: 3
Views: 4836
Gender: Male

A script only runs once when attached to a chart. It can be done in an EA. You would need input entries for the date and time to be safe. Otherwise, it would enter a trade at the same time every day. You should be able to modify a script and save it as an EA. If not PM me and attach your existing sc...
by MrPip
Sat Sep 17, 2011 9:26 am
Forum: MetaTrader
Topic: MT4
Replies: 1
Views: 3093
Gender: Male

Jim, Wow, this is an old post. What do you mean by simulate? Also what do you mean by Demo mode? If you mean a demo account there should be no problem placing trades. You might need to keep trying if there is slippage. I have a trade simulator that can be used in MT4 strategy tester. That makes it e...
by MrPip
Sat Sep 17, 2011 9:20 am
Forum: MetaTrader
Topic: Help with special order entry in MQL4
Replies: 10
Views: 8324
Gender: Male

Most MT4 brokers require stop and limit orders to be a minimum distance from the current bid or ask. I suspect that is why your orders are being rejected. Try using a larger value for the breakout.
by MrPip
Sat Sep 17, 2011 8:57 am
Forum: MetaTrader
Topic: My TRO EAs
Replies: 78
Views: 67450
Gender: Male

Hello what is the difference between sema 4 and sema 5? I just looked at the code and am in the process of optimizing for speed of backtest. I am working on version 4, 5 and 10. I will be posting the faster versions shortly. Version 5 adds a check for range greater than 40 pips on the last 4 candle...

Go to advanced search