Posts made by purelife173
-
Hedging lossesposted in Questions & Answers
In my ea the buy and sell orders are exclusive sets and close visa Versa. Note all trades close at once + buy and sells cannot be open simultaneously.
There are also two groups... group 1 is the initial order
And group 2 is accumulating/distributing.If I have the sum of the losses of my closed trades (group 1, 2, and manually opened trades) how do I use that value as The lot size of the next trade in group 1
Or would it be better to use the sum of volume of trades closed at a loss because the sum of losses would be in money
Most times when the trade close at a loss it's usually the spread
-
close above or below MAposted in Questions & Answers
hello im using a moving average, not the one in the example, in which i compare the last close to the last value of the moving average. i find it weird that the value starts at 0 even when the last close is above or below. i wasnt sure so i put a comment. i also noticed that it would give a -1 when the last close was above the ma even when the comment said that close was in fact higher than the ma.

https://fxdreema.com/shared/ykcBYxIae
why would the value start at 0 and why would this be occurring would this have to do with rounding? a jpy pair?
EAs dont check the bar before starting? -
RE: Ordersposted in Questions & Answers
how do i place a pending order at a price thats determined by an indicator?
and how to set the indicator to hold one position at a time?