
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
If there are only 2 horizontal lines, I can easily open new trades by the following condition :
if (Total_Sell() > Total_Buy() && Ask > upper_blue_horizontal_line) { Open_New_Buy_Position(); }
Now there are 4 horizontal lines, how to separate the Total_Sell() and Total_Buy() between the blue horizontal line and red horizontal line?
Is it I have to use difference magic number for the 2 groups of trades?
But since CreateObject horizontal line can't assign magic number onto horizontal line, how can I know which magic number of trades is for which color of horizontal line?
Any solution?