Forum

Help, 2 different trades?

I need to make 2 buy or 2 sell trades, with one having a TP and the other running with a trailing stop. Current EA only does one. Tried: OrderSend()&&() And OrderSend()&&OrderSend() Neither is working. Should it be: If(OrdersTotal<2) to open 2 trades And close one position at a certain TP Then

Script to trade on alert

I have a template and an indicator. Is it possible to write a script to buy/sell when they both alert? Within a number of candles if they dont line up on the same candle? For example if both indicators say buy within 10 candles, then execute buy order. I want to write this myself, just looking for

ICustom not pulling variables?

Been working on an EA for a couple months. I have recently found an indicator, that draws rectangles. 1. Gravity/transition zone 2. Breakout up for a buy with multiple tps 3. Breakout down for a sell with multiple tps Will try to attach code , it's on a laptop and I'm currently on mobile. 8 iCustom

Having trouble callingoutside variables

I've been working on writing an EA for about 3 months. Only buy positions are opening, went live 2 weeks ago, week 1 -$3500, week 2 -$39, so far this week -$2. I am having trouble calling templates and outside EAs, both give signals and would like to take the trades with an EA when they both line