It seems repeatedly adding up the profits. Have you try make it just run once , like pass once, once per trade, ...
Posts made by sktsec
-
RE: Save Profit on closed tradesposted in Questions & Answers
-
RE: How To Fix The Margin In money (Not In Lots)posted in Questions & Answers
@allstarengin
Not a block. It is a function, you just enter the formula to get the value -
RE: How can we select a SL/TP price level based on balance percentage?posted in Questions & Answers
In case you are interested to convert the price fraction into pips. Just divide the fraction by pip size.
Pip size = PipValue(_Symbol)*_Point
This PIpValue() function is reviewed by @roar long time ago and is calculated internally in the fxdreema.
-
RE: How To Fix The Margin In money (Not In Lots)posted in Questions & Answers
Have you try the function OrderCalcMargin() ?
-
RE: Store a Value for further calculationsposted in Questions & Answers
@Mani13
If you mean to record the spread on every tick data, that seems to a big task. Better find a way to get the tick data history (with spread) from your broker -
RE: How can we select a SL/TP price level based on balance percentage?posted in Questions & Answers
@l-andorrà
You probably mean money to price fraction.First get the SL / TP in money. Then convert the money to fraction
Divide this money by (lots*MoneyPerTick/TickSize), will give the fraction.
You can get the MoneyPerTick and TickSize from MarketInfo.
See if this demo help:
https://fxdreema.com/shared/JSwqXle7d -
RE: Store a Value for further calculationsposted in Questions & Answers
@Mani13
I am afraid the it is the spread you are talking about. It probably not a fix value and depends on the time you run this block. -
RE: Payment Made but Account Not Upgradedposted in Questions & Answers
I think it takes some time if payment in USDT
-
RE: I want to create a trendline like the image above, which is used in a small timeframe. Can anyone share it with me so that I can understand it?posted in Questions & Answers
It seems to me a regression channel. If it is really what you want, you first need to defined two points (i.e. shift / bar no / candle no).
-
RE: indicator to eaposted in Questions & Answers
Try
after buy trade: disable buy trade block and enable sell trade block.
after sell trade: disable sell trade block and enable buy trade block -
RE: How to make my bot to take just a positionposted in Questions & Answers
Try
after buy trade: disable buy trade block and enable sell trade block.
after sell trade: disable sell trade block and enable buy trade block -
RE: Error recessing indicator in EA. #resourceposted in Questions & Answers
It seems :
Indicator -> IndicatorsMaybe check the journals for any other error
-
RE: Has anyone encountered this problem before?posted in Questions & Answers
@PrinceErielle902
It also happened to me couples of month ago. Reason unknown.Better just delete some blocks and rebuild after all
-
RE: Need reference for draw on liquidityposted in Questions & Answers
You need the indicator for your concept of "Draw on Liquidity". The fxDreema block is ready to set the SL / TP at custom indicator level
-
RE: Strategy based on First candle of NY Sessionposted in Questions & Answers
M30 1 candle is like M5 6 candles. Maybe you can first try using the Market Info to get the highest and lowest of the 6 candles
-
RE: HOW TO CLOSE ONLY TRADES IN PROFIT AND KEEP THE LOOSING TRADES?posted in Questions & Answers
There is a block "like "Close Profitable Trade"
-
RE: adxposted in Questions & Answers
@MT4stefano
There was some display problem,I mean adx based line x> value numeric 25.
That means crossover. Is that right for you ?
Add once per bar before Buy/Sell or the EA will keep buying / selling
-
RE: SAVE PRICE LEVELS ENQUIRYposted in Questions & Answers
It is about saving the price levels in an array for further calculations. It may require custom code, and I am afraid not easy.
-
RE: NEEDS ASSISTANCE ON MY EA PROJECTposted in Questions & Answers
@Timberwolves
Can add once per bar or something like that, or you will receive the notifications in a non-stop manner