I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Dislikedhi there, i don't understand code so much so i would like to ask for help on this: Is it possible to have a EA that, when i open a order buy/sell it will put a specific SL/TP and when it reach an SL and the order is buy, automatically it will open a sell order with the same SL/TP or if it reach the TP it will do the contrary. And a custom input to open 2 or more orders at the same time. Thank you in advance.Ignored
ordersend(op_Buy) with:
stop loss: -X points
take profit: +Y points
and
open pending orders
sell stop
price is the stop loss from open order with
stop loss: +X
take profit: -Y
buy stop
price is take profit from open order with
stop loss: -X
take profit: +Y
on stop loss hit
(it will open sell stop order)
delete remaing pending order of the pair
and
open peding order - values from the new open order
on take profit hit
(it will open buy stop order)
delete remaing pending orders of the pair
and
open peding orders - values from the new open order
- - -DislikedHi RedLineFred, I was wondering if you could help me too. I want a dashboard based indicator. it should be fairly simple. i tried to do it numerous times but couldnt get through it. if you are interested ill send you the parameters! CHeers!!Ignored
Dislikedthank you, appreciated. although i should learn about programing, i already start but it isn't that simpleIgnored
Hi suicida
Please clarify:
you said:
"check for open trades on every open W bar until it's false"
Are you looking to place a new trade only on the open of a new bar? and only if no other trades are open?
Or are you saying if W=H1 and you are on the M5 chart you only want to review your position every hour regardless of the fact that you are looking at the 5 min chart?
Regardless of when we review, how do you want to determine your position Long or Short?
You don’t give any instruction on if the new order should be OP_BUY or OP_SELL. How to decide?
I understand the pending order requirements.
On SL hit, the platform will close out the at market order and at the same time action the pending order triggered off the SL. This order will be in the other direction. At this time you want the EA to close out the opposite pending order.
You then want to use this new market order (the one triggered from the pending order) to start the process again and open two more pending orders.
On TP hit, the platform will close out the at market order and at the same time action the pending order triggered off the TP. This order will be in the SAME direction. At this time you want the EA to close out the remaining pending order.
You then want to use this new market order (the one triggered from the pending order) to start the process again and open two more pending orders.
On this basis you will always be in the market, so when you said
"check for open trades on every open W bar until it's false"
It will only be false that first time the EA is loaded - is that correct?
In summary:
·you don’t care which way the EA trades when it first starts.
·if it gets stopped out it will reverse the trade
·if it hits TP it will take profit and re-enter the market at the same price
If this is correct then please just confirm your intention re the variable "W" and how it relates to the timeframe of the chart you have the EA loaded.
DislikedHi I'm running a basic MACD crossover strategy on range bars. I don't want an EA to autotrade it but I do want to run it on 20 pairs and alert me each time a trade/signal is generated so I can go to that chart and see if I think the trade is likely to be a valid one before committing manually. So, whatever chart I'm looking at at the time, if a signal is generated I'd like a box to pop up on my screen and say "Buy Signal on EURJPY" for example, coupled with an audio alert. The box would pop up each time and hold several previous signals in a list...Ignored