I have been testing this EA for a while now. But it's not Performing as Expected. My requirement was that the EA should Open trade just Once after fulfilling a trading condition. Like if the 'Buy' condition is met, it'll Open Buy trades just
How to draw a Support/Resistance line depending on just a Single Price? Like drawing a single Horizontal line at price 1.3850. And how to draw a block between two prices? Like drawing a rectangular block between 1.3850 & 1.3860? Regards
I have been trying to make it work but not getting it right. Probably my logic isn't right at all. The goal is: EA Should open trade only Once when it gets a New Signal. Even though the opened trades got closed, it wont open any New trade unless it
When I am testing this EA at strategy tester it's working as expected (Except it's opening 4 orders at the starting instead of 3). The expectation is: It'll Open 3 trades at first. Then if all these trades got closed and the same condition is still
What are the things need to be changed for making indicators compatible with Build 600+ ? If there any link of the detail discussion please give it. Thanks
Here is an indicator I am trying to use in my EA. I defined the buffers of it but now not understanding what logic were used for Buy/Sell Signals . I defined the first three buffers like this: double Buf_0 = iCustom ( NULL , 0 , "xpMA"
I have been trying a Logic to work. After starting, at the first Tick, the EA will execute 'One Set of Logic'. Then from the 'Second' Tick, it'll keep executing another 'Set of Logic'. To do so I tried something like this: int main() { int
I have been trying to make a 'Trailing Stop' function with Break Even. The Break Even part is working but the Trailing Stop part isn't working. Not understanding where I am making the 'Mistakes'? extern double TrailingStop = 7 ; extern
I'm trying to retrieve the Ticket number of the Last Closed order. So I tried this: int start() { History_Calling( Symbol (), MagicNumber); BuyOrder= OrderSend ( Symbol (), OP_BUY , LotSize,OpenPrice,Slippage,StopLossPrice,TakeProfitPrice, "Buy
I have been trying to get the 'Last Closed Order' from 'History' of closed trades but not getting things done correctly. My EA will open 3 trades simultaneously and when the third trade will be closed, i.e. there wont be any trade left (Buy/Sell) and
I need to use Trailing Stops and Trailing Profit. My plan: For Trailing Stop: *After reaching a certain profit limit say 10 pips, the Stop Loss will move to 5 pips. Now if that trade retraces back to 5 pips then 'Two Third' of the trade will be
Even the day before yesterday, this EA was working fine. It was taking orders, modifying Stop Losses (Trailing Stops) on multiple pairs accordingly. Suddenly yesterday I saw that 'Invalid Stops' error was showing while it was trying to open 'Buy'
Hello, I want to use MA within the Stochastic indicator window. When the 'Signal' line crosses with that MA, Buy/Sell will trigger. To do this, how can I define the iMAOnArray()? double Signal_Sto= iStochastic ( NULL , 0 , 70 , 5 , 5 , MODE_EMA , 0
Hello Guys, I am Back. Yes Back because I was 'Banned' from this Forum! I didn't get any warning about it though and it was my ignorance about the matter. I apologize for it and understood what I shouldn't had done. Anyway, I am opening this thread