Please, check this on H1 , for resistance (high) , just to understand if it works as you expect
https://fxdreema.com/shared/4ZWmF0O3e
Posts made by ambrogio
-
RE: I need help on thisposted in Questions & Answers
-
RE: Saving variables for reference use?posted in Questions & Answers
@tec-nacks said in Saving variables for reference use?:
@ambrogio it is 3 wicks of 3 different candles.
should be like this, i didn't test


-
RE: I need help on thisposted in Questions & Answers
@tec-nacks please write something on this screenshot

-
RE: Saving variables for reference use?posted in Questions & Answers
@tec-nacks said in Saving variables for reference use?:
@ambrogio in this case I'm not counting consecutive wicks but the number of times it wicks through
for example, with it wicks through for 3 times, open a long position.
3 times the same wick up and down, so the same candle? or 3 wick of 3 candles?
-
RE: I need help on thisposted in Questions & Answers
you can use a few constant for your candle 7 , 1, and 13
-
RE: I need help on thisposted in Questions & Answers
In the modify variable you are assigning a price value at variable id_6 , it is not a candle id
Put 7 directly in the draw line block #71, just like block #51 -
RE: Saving variables for reference use?posted in Questions & Answers
you have to create a variable that counts the number of times. When conditions are met once per bar modify variable count=count+1
You want to count only consecutive wick? In this case you have to reset the variable (or simply make the condition in a row from candle ID1 to candle ID3) -
RE: Saving variables for reference use?posted in Questions & Answers
candle low below the line, candle close/open (both condition togheter) above the line.
-
RE: I need help on thisposted in Questions & Answers
@tec-nacks do not repeat variable in the candle id field, just put 6

put a comment block below modify variable and you can see
-
RE: I need help on thisposted in Questions & Answers
@tec-nacks you are right! Very strange! So i rewrote from scratch your blocks and it works now
-
RE: Trying to close a set of trades using overall profitposted in Questions & Answers
MT5 for each position
MT4 for each trade -
RE: I need help on thisposted in Questions & Answers
my bad, only now i see!! you have to put all the condition in one tree all togheter
-
RE: how can i draw rectangle between 22:30 to 10:30 ?posted in Questions & Answers
since you want the half hours, I think it's better to count how many M30 candles you need to find the highest/lowest price instead of using 22:30 to 10:30. I would do so
-
RE: I need help on thisposted in Questions & Answers
@tec-nacks your logic is right, maybe with some loop we can use a few block only..............i don't know
-
RE: Trying to close a set of trades using overall profitposted in Questions & Answers
@Tulefi since you are adding volume, you don't need the average price only, but you need to calculate the total lot size of runnign trades. This question was already discussed many time, and i cannot find the most helpful thread anymore, but i saved the result in this example that someone have done time ago (i don't remember who)
-
RE: Trying to close a set of trades using overall profitposted in Questions & Answers
you can make a formula block with equity-balance. Put the result in a variable
