Forum

iCustom return Values are different from chart indicator

Hi Guys, I am using iCustom to get values from QQE-Histogram indicator. But returned values of the iCustom() are different from the values printed on the chart by indicator. I have encounter same before with different indicator and give up. Below is the sample of my iCustom() and the code of the

how to pass take profit value of one order to another

In my EA I open 2 orders at once. Order #1 : set TakeProfit value ( TakeProfit value calculated based on ATR of the time of order placed ) Order #2 : do not set TakeProfit value at the opening Later on I want to run trailing stop for the "Order #2" and I need to pass the TakeProfit value I used in

Open Simultaneous Orders with different Magic Number on same EA

I am trying to open 2 orders in my EA ( Same chart at Same time ) Reason : One order use Take Profit amount and the other one do not set Take Profit amount ( I set this to 0 ) as this order will do trailing stop later. I used 2 different MagicNumbers to differentiate the orders. However, when I run