I have just found out how to display profit of the running EA
Best posts made by migen
-
RE: Display current profit/ close profit (money) of EA
-
RE: How to find Highest / Lowest in a period (eg. 2 days, 3 days..)
I have just find out - Market Properties / Highest Price (Candles Period) in Condition block.
Latest posts made by migen
-
no trade/order nearby problem
For example.
No buy trade nearby / no buy pending order nearby - 20 pips in the range 20 pip in the winning side -> place a buy pending (price offset 10 pips).However, it place many orders. Not sure why.
-
How to place order when price higher than all prices of old trades
Place an buy order when price is higher than all prices of existing trades of that symbol (ie. GBPUSD) ?
Any suggestions ?
-
MT5 "netting mode", how to set target for account, works even EA restarted ?
Because of trading grids, I place hundreds of orders. To avoid fee and limited number of orders, I have to consider to use MT5 with netting mode.
What I tried is use formula block (Balance + profit), put in a Variable (when no trade).
Set EA close all orders when Equity > Variable.
https://fxdreema.com/shared/AqAfTIjNcIt works. However, when my laptop closed Metatrader, EA restarted. It caused a mess.
Because of netting mode, balance is changing. So I can only set profit target before EA trades.
Any ideas to set target profit with MT5 netting mode, works even EA restarts ?
-
How to open new order at the same price of the closed trade
I try to build a grid EA. I need to find a way to:
A buy trade reach take "profit" and closed.
open a new Buy pending order at the same price (open price) of the closed trade ( which is just closed).I find some ways to do that, however, it miss the open price of closed trade.
Any suggestions ?
-
How to sort a list of Variables in order " from High to Low value" ?
I have a list of Variables to show the currency strength.
Ideas from :https://forums.babypips.com/t/trading-the-trend-with-strong-weak-analysis/77959
So I have Variables : 1,2,3
How to sort these value in order from High to Low and display the list on chartAny suggestion ?
-
How to place a buy limit when current trade close by TP
How to place a buy limit when current trade close by Target Profit ?
Not "check last trade close", because when EA restarts, it will open buy limit - pending order.
I want EA check the running trade, when the trade is close by TP, then it will open a limit buy - pending order.
I tried but i still don't find a good logic.
Any suggestion ?
-
How to skip the first bar of the day ?
My EA trade many timeframes. I want to skip the first bar of each timeframe. Anyone know how to do ?
-
RE: Do you use your EA for live trading?
@l-andorrà said in Do you use your EA for live trading?:
@seb-0 I'm a firm believer in karma. This is why I try to do as much good as possible to the world of forex. I hope some day the world will reward me for that in the form of a good profitable EA! LOL
Have you ever read about Alien System :https://www.forexfactory.com/thread/463573-aliens-extraterrestrial-visual-systems
Do you have any interest in it ?
I try to build EA for this system. -
how to write the repeated condition - Candle Close ID 0 > Candle Close ID 5,...
Anyone knows how to write the repeated formula in condition block:
Candle Close ID 0 > Candle Close ID 5, Candle Close ID 0 > Candle Close ID 15, Candle Close ID 0 > Candle Close ID 30,... -
RE: how to get EA complete calculation before placing order ?
@biztet said in how to get EA complete calculation before placing order ?:
The candle id _0_0 & _1
The candle id _0_0 & _1 : it's Constants ( Inputs ), so I can input and test the settings of different conditions easily without changing the code.
Constants ( Inputs
_0_0 = 0
_1 = 1
Later I can change the numbers in the EA's Input settings in MT4 to test bigger periods.