
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
ok found the function i need to use
below is the function
heres the deal i need to
buy when buffer 0 is greater than -0.00000 && buffer 1 is absolute 0.00000
sell when buffer 0 is absolute 0.00000 && buffer 1 is greater then -0.00000
Not quite... imho.... that is the function in the indicator that sets the line colour.... but you can see the buffer ID (0) for this line.... you will need to use icustom in your ea to extract the value held in the indicator buffer. You are correct in saying you will need 2 variables... one for each buffer colour.... when 1 is >0 the other will be ==0 and you can determine your actions from that...
hth
Vhow do i use icustom to extract the values on the two indicator buffers..
can someone help
much thanks
hustlerscreed
how do i use icustom to extract the values on the two indicator buffers..
can someone help
much thanks
hustlerscreed
Read the link I gave you and have a look at other posts... its a regular question...in fact one is ongoing at the moment...https://www.mql5.com/en/forum/128838
V
No slaves here. Either learn to program or pay someone.
how do i just pull out buffer 0 and buffer 1 values and use them for buy and sell
much thanks
hustlerscreed
also whroeder i read the topic and worked on it over 4 hours it did not works
all the topic explains is how to order verables in icustom but not how to use specific verables to use and trade signals
thanks
creed
ok heres the indicator Parameter order, as you see is has there extern int and 4 buffers.
how do i order iCutoms() arrange it so on buffers 0 and 1 values or read
or set it up to where it buy and sell off of buffer 0 and 1
ok heres what i got.. now it looks simple enough to but unfortunetly it does not work
now i understand about how you have to line up the icustom in the correct order and that the secound to the last diget of the iCustom is the int mode which indicates which buffer you're looking use . in my case 0-3.. but it open orders at ramdom and back to back pull it uses ever bar as a singal and keep opening order plus it only opens sell once the histogram crosses the 0 line..
i want it to stop and revese.. follow the trend
whole code try it your self
Your macd2 variable is shifted to bar 1 whilst macd1 is on the current bar. (the final parameter is shift) so That is not going to compare properly... set them both to 1 or 0... not sure what trade_bar is but assuming it's confirming to only trade on a new bar... try this function instead..
hth
V
Love is a telephone which is seldom program-contr moncler jacketsyou onlyolled or directly dialed. You cannot get an immediate answer by a mere "hello", let alone go deep into your lover's heart by one call. Usually it had to be relayed by an operator, and you have to be patient in waiting. Destiny is the operator of this phone, who is always irresponsible and fond of laying practical jokes to which she may make you a lifelong victim intentionally or unintentionally.
Love is a telephone which is always busy, When you are ready to die for love, moncler coats find, to your disappointment, the line is already occupied by someone else, and you are greeted only by a busy line. This is an eternal regret handed down from generation to generation and you are only one of those who languish for followers.
Love is telephone, but it is difficult to seize the center time for dialing, and you will let slip the opportunity if your call is either too early or too late.
Love is a telephone which is not always associated with happiness. Honeyed words are transmitted by sound waves, but when the lovers are brought together, the phone servers no purpose that many lovers observe that marriage is the doom of love.