I believe this is possibly a solution, cheers
https://fxdreema.com/shared/z4ytexJKd
Posts made by purelife173
-
RE: Loops different than newest and oldestposted in Questions & Answers
-
RE: Loops different than newest and oldestposted in Questions & Answers
The flaw is if there is no order the loop would stop progressing. Some numbers are Odd and others are even
-
RE: Loops different than newest and oldestposted in Questions & Answers
@jstap limits perhaps
thanks for that sparkhttps://fxdreema.com/shared/rWOl4C1Jc
Now my next question is can that once per trade/order be reset?
-
RE: Loops different than newest and oldestposted in Questions & Answers
@jstap I didn't get the chance to try it out but reading the blocks that's not the right logic say if there are two running trades one is a .01 and the other a .5 (the newertrade) that logic would seem to run the .5 first in both scenarios. Nice attempt
It seems loops can run in most/least profitable or newest/oldest but I want to loop by lot size. From the smallest size to the greatest
-
RE: Loops different than newest and oldestposted in Questions & Answers
I want to run a loop from lowest volume size to largest
-
Loops different than newest and oldestposted in Questions & Answers
@fxDreema how can I run a loop based on order size say least to greatest or greatest to least?
-
RE: Need Help With Currency Exposure Controlposted in Questions & Answers
@l-andorrà no same chart window just changing the current symbol on the page
-
RE: Need Help With Currency Exposure Controlposted in Questions & Answers
@roar "invalid array access"
lets say i load my ea on a symbol and it opens a trade then i change charts and it opens another trade on a symbol
how would i add each symbol to an array on trade?
-
stoplossposted in Questions & Answers
https://fxdreema.com/shared/9kR2l2Vfc
hi this doesnt work as expected any tips? runs normal until the placement of where stop loss
-
RE: take profit filterposted in Questions & Answers
@l-andorrà correct, for point 2 would it be too troubling to use the spread at the time the trade was open. i would have to keep put that value into some variable right? how would it work for multiple trades would i have to maintain multiple variables?
-
RE: take profit filterposted in Questions & Answers
@l-andorrà hmm never thought of that but id say the current one
-
RE: take profit filterposted in Questions & Answers
@l-andorrà said in take profit filter:
Pont 2 is more confusing. What do you exactly mean by 'change in price'?
if the spread is .02( 2 pips) then the difference between the price i opened my trade at and the current close price must have a profit greater than .02
@l-andorrà said in take profit filter:
nd shouldn't be point 3 the same as point 2? What is the difference between them?
in this point depending if a buy or sell im aiming for 2% change in price
-
RE: take profit filterposted in Questions & Answers
When these conditions are true:
- Profit (swap and commissions) is greater than 2 cents
- the change in price must be Greater than the spread - that's why I used a price fraction
- for sell order the ask price must be below .998 x ( open price of trade)
For buy orders the bid price must be above 1.002 x (open price of trade)
-
take profit filterposted in Questions & Answers
are these blocks being used correctly. i was trying to put together a minimum goal in mind
-
ORDER OF OPERATIONSposted in Questions & Answers
https://fxdreema.com/shared/I9tBB7CPb
3 channels
once per tick
first channel that changes variable to 0 if not trade or after broken looponce per bar
second channel that changes 0 to (-1,1)
third channel that +/-1 -
RE: Hedging lossesposted in Questions & Answers
@l-andorrà In the last shared project I tried to sum the lot size of all open trades currently at a loss greater than or equal to 0.
I changed my idea since the first post to avoid processing many closed trades and instead work with the sum from the open trade. I then process that value to open a new trade when a specific instance occur
How ever I can't get the comment to output the correct value. Thanks so much I'll keep searching through the forums
https://fxdreema.com/shared/c8svvA1jc
it doesnt recalculate when some trades are in profit
-
RE: Hedging lossesposted in Questions & Answers
https://fxdreema.com/shared/qL2fT0E8b
okay then id like the sum the lot size of all open trades currently at a loss and less than cost (commission and swap) -
RE: Hedging lossesposted in Questions & Answers
Yes all closed trades in a loss after the last candle has to be considered once (on tick).
group1 has to be in profit eventually so net profit of all trades are considered
Maybe trades from the start of the ea