Forum

Trying to execute only one trade on Hull indicator changing trend direction

Hello all, Need help in my EA. I'm trying to take only one trade if hull indicator change the trend slope. I've manage to make position open but when a position close another one immediately opens and I don't want that. I don't know how or what is best practice to do so. If anyone know any reference

Why my trailing stop not working? PLS need help

Hi all I have a problem that I struggle with for the last two days with my trailing stop - it's not working and I can't figure why. I'll appreciate any help, PLEASE. This is my trailing stop code part : extern bool Use_TrailingStop= true ; extern double StartTrailingAt=

How to figure out iCustom values

Hello all I have this part of code: double HMA1D = iCustom ( Symbol (),First_TF, "HMA4" ,First_TF,First_Period,First_Divisor, 0 ,Shift); double HMA4H = iCustom ( Symbol (),Second_TF, "HMA4" ,Second_TF,Second_Period,Second_Divisor, 0 ,Shift); double HMA1H = iCustom ( Symbol (),Third_TF, "HMA4"

How to get another EA data

Hello, I have the same EA runing on multiple currancy pairs. I need to get the highest calculated equity target price. What is the best way to do that? what methode should I use

Recording highest and lowest values of EMA for last 610 candles

Hello all, I'm trying to record the values of EMA indicator for the last 610 candles. I've only suceeded to 'Comment' the highest value, failing do the same for lowest value. And I don't understand where I'm failing. I've attached my code

if statment when position close

Hello all, I want to send emails - if position close I want to send what is the profit and if the position open I want to send what is the takeprofit and stoploss What I need to write on the if statment? Thanks