@l-andorrà i also noticed this block but the problem still stays the same considering the fact that i dont just want to detect objects i actually want to detect if there is a line on 2 out off recent three candles
Posts made by Zackry
-
RE: detect vertical lineposted in Questions & Answers
-
RE: detect vertical lineposted in Questions & Answers
@l-andorrà i didnt mean delete , i mean detect
-
detect vertical lineposted in Questions & Answers
how can i detect the vertical line on the chart?
the ea is plotting vertical lines on the chart, and i want to detect if the vertical line is visible on 2 out of three previous candles (candle 1 candle 2 candle 3) -
RE: Need some advice regarding thisposted in Questions & Answers
@roar thanks bro I will test it with the rest of the ea and will update here,
-
Need some advice regarding thisposted in Questions & Answers
Hello need some advice on this:
I am trying to calculate lot size based on previous trade's unrealized loss along with the new trade's take profit.
Let say trade A is running in 20 pips loss, so open a trade B with predetermined take profit of "10 pips" and when the trade B hit the take profit ea should close trade A as well so the trade A loss will be 30 pips and the trade B profit will be 10 pips but the lot size of the trade B needs to be calculated in such a way that it should recover the loss of trade A and even out the 30 pip loss in 10 pips (to do this the lot size of trade B definetly needs to be more than the lot size of trade A.)
Any ideas? -
stoploss value in pipsposted in Questions & Answers
how to save stoploss value (pips) in a variable?
i am using atr multiplied by 1.5 as stoploss -
RE: Getting values from other Indicatorsposted in Questions & Answers
@spuzy bro I ho no knowledge of programming whatsoever.





-
RE: Getting values from other Indicatorsposted in Questions & Answers
@l-andorrà okay I am replying from my phone, I'll share the link as soon as I get back
-
RE: Getting values from other Indicatorsposted in Questions & Answers
@l-andorrà bro it's MT4 indicator, I am using it on mt4
And the project I need this indicator for is also being developed in for MT4 -
Getting values from other Indicatorsposted in Questions & Answers
Is it possible to read "int" & "double" values From an indicator and save those values into a variable?
Please NOTE: The indicator i am talking about uses "object" to display those values.
so in other words i will need a way to read those value from the chart.

and this is the indicator:
0_1563119466759_MoneyManager.mq4 -
Buttons not working?posted in Questions & Answers
Hello
i am trying to make simple buttons to buy and sell when pressed.
it was working yesterday but now its not working at all.
have a lookhttps://fxdreema.com/shared/fdKvs5wDd
Thanks in advance
-
RE: please helpposted in Questions & Answers
@fxdreema from the looks of it , i believe its for a fix sl value. Right?
-
RE: please helpposted in Questions & Answers
@fxdreema thats a very good idea to have all these things in separate chain of blocks it will give us more flexibility and possibilities
and about my question i know i cant use the calculations from buy/sell blocks anywhere else and i will have to perform separate calculations to display that on chart , i dont know where to start that calculation -
RE: please helpposted in Questions & Answers
@miro1360 yes but the problem is, I want to display the calculated lot size on the chart before the trade is opened its kind of a partial automated system, and the trade is taken when I click on the button that I created, but before clicking on the button I want to k ow what will be the lot size of this particular trade
-
please helpposted in Questions & Answers
i am trying to use the lotsize based on the stoploss and the stoploss is 3 times the atr pips so whatever the stoploss is it just calculates and then risk 5 percent of the account depending on the stoploss
something like this


