You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
PLEASE HELP ME SOLVE THIS PROBLEM IN MY MT5 EA
i am trying to create an EA that utilizes 2 Bollinger Bands (one with 1 std and and another with 1.5 std)
and i enter a position with a close below the bb(1 std) and markets price with a sl at the larger bb and a tp at the middle line , i wanna automatically modify the oder such that it moves the sl and tp to the latest value of the bolllinger band and the middle line i.e. the current candle has an index of 0 and the previous candle has an index of 1, so the bb values at index 1 . i want this to happen until either sl/tp is hit. can someone please guide me into the right direction??? i am an amateur and just getting started with this EA stuff. i am aware i can get the position ticket and use that to modify sl/tp but i have a hard time extracting the 2 values from the bb , the initial tp/sl and the modified sl/tp with every candle. i can get the values from ibands function and use the copy buffer function to extract the values , but i am only successful doing so for the initial sl/tp how do i extract the values for the rolling sl/tp , please help me out , thank you for the help,appreciate it.
Coding Help needed in Mt5
When Average true range level reached trade should execute in next new candle, stop loos in pips, take profit in minutes.able to add martingale inputs.
This is my other suggestion (which came from tsd 2010 and from tsd 2008):
----------------
Just to remind:
Coders (any coder) are coding for free:
----------------
and Freelance section of the forum should be used in most of the cases.
Can anyone help me with this?
I want an indicator that draws an upward signal on the third candle if the previous two candles are up. It appears during the candle and disappears if it becomes red, and if it becomes green again, the signal appears again, as well as with bearish candles.
mt4
Hi!
I try to find the trend based on zigzag indicator.The code must return 2 for bearish ,1 for bullish and 0 for range.
But it returns only 10 or -1!!
whats the problem?
(plese ignor the times arrays.these are used for another code)