@roar as you can see the atr timeframe is of enum type, and i dont want to use the fixed timeframe so will it be okay if i declare the atr timeframe as a variable and then modify it using the modify variable block and then setting timeframe in that block?
Posts made by Zackry
-
RE: Getting values from other Indicatorsposted in Questions & Answers
-
RE: Getting values from other Indicatorsposted in Questions & Answers
@roar perfect.
thanks a million times
i am gonna try it -
RE: Getting values from other Indicatorsposted in Questions & Answers
@roar thank you roar you went out of your way to help me, I really appreciate it
By the way, the lot size and rest can be achieved the same way right? -
RE: Getting values from other Indicatorsposted in Questions & Answers
@roar a quick question can I use these lines as it is?
Or do I have to change them in some way? -
RE: Getting values from other Indicatorsposted in Questions & Answers
@roar well no luck there , it all looks like bricks and stones

-
RE: Getting values from other Indicatorsposted in Questions & Answers
@roar thanks, I don't have any knowledge about the actual code part but I will try to copy and put that code into my project
-
RE: detect vertical lineposted in Questions & Answers
@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
-
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


