
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
Thanks, but how to do it? I tried it - it doesn't work. Please write this string; and where to put it to buffers with buffer # instead of string name?
Trend lines are drawn on two points, each with price and time. Read about ObjectCreate() function in the Help. Take values from buffers, time - array Time[]. Also you will need to set object property - OBJPROP_RAY - ObjectSet() function.
Integer писал(а) >>
Take values from buffers, time - Time[] array...
That's what doesn't work. When line is like an object, it works for me:
ObjectCreate("Trend Line("+tl_str+")",OBJ_TREND,0,Time[p],price1,Time[0],price2);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_COLOR,Color);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_STYLE,0);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_RAY,1);
But for a buffer, it doesn't work...
That's what doesn't work. When the line is like an object, it works for me:
ObjectCreate("Trend Line("+tl_str+")",OBJ_TREND,0,Time[p],price1,Time[0],price2);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_COLOR,Color);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_STYLE,0);
ObjectSet("Trend Line("+tl_str+")",OBJPROP_RAY,1);
But for a buffer, it doesn't work...
What are price1 and price2, if they are buffers, you need price1[p] and price2[0]; It should work.
What price1 and price2 are, if they are buffers, then price1[p] and price2[0]; Should work.
Yes, it works. But that's not it. Rather I need something like ObjectMove, but can it be done and how?
Yes, it works. But that's not it. Rather, I need something like ObjectMove, but can it be done and how?
There is such a function - ObjectMove(). There is even a whole section in mql4 help called "Graphical objects".
you can make money on forex: http://igorpmrv.livejournal.com/265.html
Can I have a look at the files that were linked there?
I've come to the conclusion that no matter how you spin the forex, there is no pattern... which leads to depreciation.
I have come to the conclusion that no matter how you spin it, there is no pattern on forex, it all comes down to 50%50 + spread and swap not in favour of the trader. If you tell me one pattern and I will show on the chart the exact opposite situation. and if it occurs, it will happen again and again. and there is a possibility that several times in a row. which leads to a loss of the depo.
What's the problem with your trading? How long have you been in the Forex market? What are you failing at?
Maybe you are just doing something wrong and you need professional help or advice.
I don't agree with you. It is possible to make a steady income on the forex market. That's what the Forex market was once created for - to make money.
What's the problem with your trading? How long have you been in the Forex market? What are you failing at?
Maybe you are just doing something wrong and you need professional help or advice.
The world is (forex included) as we see it; it is a reflection of how we see it.