@l-andorrà
All good, merely thought this ( your own code ) would be a place to start.
Maybe using the same logic, but have 2 independent calculations.
1 = calculate Lose % of Balance
2 = calculate TP % of Balance.
I might have miss understood, sorry.
Knowing you, you'll get it...

Best posts made by Vortrexcian
-
RE: How can we select a SL/TP price level based on balance percentage?posted in Questions & Answers
Latest posts made by Vortrexcian
-
RE: How can we select a SL/TP price level based on balance percentage?posted in Questions & Answers
@l-andorrà
All good, merely thought this ( your own code ) would be a place to start.
Maybe using the same logic, but have 2 independent calculations.
1 = calculate Lose % of Balance
2 = calculate TP % of Balance.
I might have miss understood, sorry.
Knowing you, you'll get it...

-
RE: auto draw on symbol changeposted in Questions & Answers
@drewliedadeuce
As @jstap mentioned.
The On Init means initialization ( once the EA is loaded to a chart, it starts )
Your EA has already started, so there's no initialization again, even when you add or change anything on the chart ( unless you remove and re add your EA, the Init will start again )If you change anything there after, it should be in the OnTick ( searches for anything within every tick (( per second )) to alter on the chart )
So if you change the symbol on the same chart, the OnTick will detect a change and redo whatever the command is. -
RE: Alert / Notification Issue with messageposted in Questions & Answers
Thank you and truly appreciate the feedback and input.
#Legend -
Alert / Notification Issue with messageposted in Questions & Answers
Hi Guys
Hope somebody could please shed some light on this as I am stuck.
Simple EA with Arrow ( Link https://fxdreema.com/shared/rnnh3FBVb )
When condition is met, an Arrow appears.Also added the delete box ( only needs to keep the new 20 Arrows, but have some issues with this as well, it deletes the arrows, but then stops and then deletes the newer ones and much much later, if you have some insight on this, would appreciate it as well )
However, my issue with Notifications is as follows:
Phone (Mobile) seems to work okay ( might have to add server time as well )

Backtest works great

But Live does not display the same!

It only displays the EA anme, symbol and timeframe, but no entry price and estimate tp.
It is displaying the very last alert's at the top left corner, but it is not showing it on the rest of the listing. ( where the question marks are on the picture )Can you guys please let me know why this is, did I forget something or did I do it wrong.
Any assistance to this regards would as always be greatly appreciated.
Thank you in advance -
RE: MT5 Timeframesposted in Tutorials by Users
On top of this.
If I want the chart to always be on a M5, how would one go about having a message display "Not on correct Time Frame, must be on M5"
Not that important, merely playing around with a few ideas.
-
RE: MT5 Timeframesposted in Tutorials by Users
Thank you so very much Bud.
Truly a Legend for doing this.
This helps me out so much.Great work as always.

-
RE: TRENDLINE BREAKOUT EAposted in Questions & Answers
Hay Bud
Quick one.
Just to recap.
YOu have a indicator, that draws Auto-trendline, you want to buy / sell when this indicator gives the signal, right?
If so, you previous picture, that line, did you draw or was that the indicator?
What @jstap suggested, was to use the additional block that would display what the value would be for when the indicator draws, so that, thats value could be used to trigger the Buy / Sell on your EA.
If you drew the line, it defeats the purpose.
-
RE: Fixed SL / Break Even / SL Trailing Assistance Pleaseposted in General Discussions
Would like to thank
@l-andorrà
and
@jstapFor always assisting.
The information that you guys give and post are truly remarkable.Thx Guys, I managed to get it sorted with your assistance.
