TRENDLINE BREAKOUT EA
-
TRENDLINE BREAK 4.mq4 THIS INDICATOR LOOKS FOR A TRENDLINE ON THE CHART AND WHEN PRICE CROSSES IT ,IT THE DRAWS A ARROW WAS GONNA TRY TO USE INDICATOR APPEAR BLOCK TO MAKE THE EA BUT HOPE SOMEONE CAN GIVE ME A MORE EFFECTIVE METHOD
-
Hi
Sorry for the delay in response.
Been super busy.Here is a previous post that might help you in the right way.
https://fxdreema.com/forum/topic/4233/example-trendline-eaHave a look and see if this is what you're loking for.
Play around with it on your demo ( or tester ).Unfortunately, I do not operate on MT4 ( for the moment )
Therefore, I cant open that indicator to test and see.However, I do hope the link guides you in the right directions.
-
@Vortrexcian HEY I ALSO APOLOGIZE FOR THE LATE REPLAY WE ALL SUPER BUSY NO PROBLEM WILL CHECK IT OUT AND LET YOU KNOW THANK YOU SO MUCH FOR THE HELP APPRECIATE YOU
-
https://fxdreema.com/shared/Xh5NLKSCd HEY EVERYONE BEEN PLAYING AROUND WITH FXDREEMA AND I MANAGED TO MAKE A EA WHICH OPENED A TRADE WHEN PRICE CROSSED TRENDLINE I PLACED ON CHART MANUALLY BUT I CANT GET IT TO OPEN TRADE WITH TRENDLINE PLACED BY AUTO TRENDLINE INDICATOR CAN ANYONE PLS HELP
-
-
@Vortrexcian HI BUD THANK YOU SO MUCH WILL TRY IT OUT AND LET YOU KNOW
-
@Vortrexcian HELLO MY FRIEND I TRIED IT OUT AND IT DRAWS THE TRENDLINE THE PROBLEM IS THAT IT REPAINTS WAY TOO MUCH SO MUCH SO THE CROSSOVER CANT HAPPEN SO NOT EVEN SURE IT OPENS TRADES
-
You can change the Candle ID , 50 and 15 is the amount of bars it would read to draw the trendlines.
Alternatively, look at the construction of it, to see if you might have missed something, because this definitly opens trades.
Also, I do not have MT4, so cant see your personal trendline indicator, the reason your project might not be opening trades, could be incorrect buffer as well.
Maybe @l-andorrĂ could shed some light on this
-
@Vortrexcian HI BUD YEAH WILL CHANGE THE 50 AND 15 AND SEE IF IT MAKES A DIFFERENCE .I THINK U HAVE A POINT ON THE BUFFER.CAN YOU PLS HELP ME WITH THE CONDITION WHERE PRICE CROSSES LH OR HL
-
AS U CAN SEE THAT IS THE BUFFER THE INDICATOR HAS BUT ON CHART IT DRAWS TWO LINES RED AND PURPLE FOR SUPPORT AND RESISTENCE -
Hi Bud
I would say, make sure your setup is correct, first of all ( that it would open and close when conditions are met )
Then, and this is the "YEET" part, you will have to add buffer 0 to 10, then test again, if not working, change buffer 0 to 1 and so on, till a trade opens.
Do this only for buy at first, till you find the right buffer, then do the same for sell.
Did you create the indicator or do you at least have the source code, cause the buffer will be there, otherwise, if not, the above method is the only thing I can think of at this point to find the right buffer.
-
@Vortrexcian HI BUD YEAH WILL TRY YOUR SOLUTION HOPEFULLY IT WORKS.THANK YOU
-
@Vortrexcian NO I GOT IT SOMEWHERE SO DONT HAVE THE SOURCE CODE AND WHEN YOU SAY ADD BUFFER 0 TO 10 WAT DO YOU MEAN BY THAT
-
Hi
Under MyIndicators

Select the custom indicator that you want to use.
And add the output buffers

As seen on the image, my custom indicator had 10 buffers
The arrow signals were buffer 8 and 9, which I had to use to open a buy and sell trade.Not knowing which buffer on your custom indicator activates the "BUY" signal, you would need to add a lot of buffers, and keep on changing and testing, untill a buy order opens

I'm not that good with this and still new myself.
You might want to ask for assistance from
@l-andorrĂ
@jstap
@roarOr some of the other L337 guys...
Hope this helps a bit...
-
@Vortrexcian HI BUD SORRY FOR LATE REPLAY OK WILL TRY IT THANK U SO MUCH APPRECIATE YOU TRULY
-
@JSTAP HI BUD HOPE YOU GOOD WAS WONDERING IF U CAN ASSIST ME WITH THIS PROBLEM I AM HAVING.U HELPED ME THE LAST TIME TRULY APPRECIATE IT
-
On backtest this doesn't draw any line?
-
@Vortrexcian HI TRIED YOUR SUGGESTION DONT WORK ADDED LIKE 7 BUFFERS NON OF THEM OPEN TRADE BUT THE INDICATOR WORKS BECAUSE EA REDRAWS TRENDLINE AS PRICE MOVES SO THE OPEN TRADE IS THE ONLY PROBLEM EVN TRIED OPENING A TRADE WITH MANUAL TRENDLINE WITH SAME NAME AS INDICATOR NAME AND IT WORKED SO DONT KNOW WHY IT DONT OPEN TRADE
-
Hi
Cant think why of why not.
Your custom indicator, is it under the normal "nagivgator" listing or in a custom folder.
I had an issue where my EA did not want to open trades either, but this was because my custom indicator was under a custom folder.
I moved it under the normal lising and then i worked.
Other than that, I have no idea.
Sorry Bud. -
@Vortrexcian HI BUD YEAH MY INDICATOR IS IN THE NORMAL FOLDER LIKE THE REST OF THE INDICATORS IN MQL4 INDICATOR FILE THATS THE RIGHT PLACE RIGHT?I AM REALLY LOSING HOPE IN THIS LITERALLY TRIED EVERYTHING I COULD THINK OF TO MAKE IT WORK

