how to partial close trade with highest lot?
Latest posts made by yogajangkung
-
how to partial close trade with highest lot?posted in Questions & Answers
-
RE: select order by ticket to partial closeposted in Questions & Answers
@l-andorrĂ so what's the difference between in loop order and on trade event data?
-
select order by ticket to partial closeposted in Questions & Answers
hi, i have a question, how do i select the exact order (without For Loop function) by ticket to close a position partially. i had used the pink partial close block but it didn't close the position which i want to close in the first place.
so for the ilustration (this is hedging system btw):
- there are 1 buy and 1 sell with equal lots, both flatten each other
- when the buy order hit "take profit", i want to close some part of the sell order.
- then place a buy stop with the same lots as the sell order with the remaining lots.
is it possible? thanks in advance
-
close trade not workingposted in Questions & Answers
hi i build an EA like this https://fxdreema.com/shared/DKH9Br7nb and want to close the trades after "check profit unrealized" is reached. but this not working. please help
-
Hedging EA Pending Order Not Placedposted in Questions & Answers
Hi, i was trying to make an EA for hedging. The idea is like this:

And this was what i can do https://fxdreema.com/shared/zpaNxD3Ac
-
PSAR Breaks Fibonacci EAposted in Questions & Answers
Hi, i am developing an EA based on PSAR and Fibonnaci.
- The idea is, If candle close > PSAR, create Fibonacci from lowest price to the first candle that breaks the PSAR (the highest price), as well as the opposite. I've managed to did half the way, but it seems just wrong sometimes. The price which should be the first and second point is just wrong and not as i planned before.
It looks pretty much like this
0_1620896530950_Screenshot_20210513_170102_com.microsoft.rdc.android.jpgBut it should be like this
0_1620896584133_Screenshot_20210513_170148_com.microsoft.rdc.android.jpgI've been messing around with the candle ID and so on, but the MT4 tester always shows me the first picture.
- How to filter if the winning position, let's say Buy position, and prevent the EA to look for Sell position?
This is what I've been made https://fxdreema.com/shared/BZ5dDBsjc
-
RE: TP and SL modified in loopposted in Questions & Answers
i need once per bar for the horizontal line draws the highest/lowest close price and i need the once per day so the pending order grid just open once for a day
-
TP and SL modified in loopposted in Questions & Answers
hi, i made a simple EA with grid. Every time i start the EA, a grid of pending orders is made. Then with the TP and SL that i assign in a Constant (input), the EA is modifying the TP and SL repeatedly and makes the EA looks slow. What am i doing wrong? please help me
this is my project https://fxdreema.com/shared/TNOgIo1pd
-
Finding Highest Lowest Close Priceposted in General Discussions
Hi, i have a problem with finding the highest/lowest close price through a single day. I tried with Once A Day but the price that taken as value seems not from the day the ticks were running. Can i do that? And how? Thank you
this is what i've been made https://fxdreema.com/shared/17UbLF5Pc