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
An indicator that shows some of the important levels...
Guys I've been trying to make my own indicator, but I can't even make a line work properly...
I don't just need an indicator.. I want to learn how to do this <Deleted>... So first of all: does anybody know of any online resources where they explain how to make indicators, and not EAs??
Second... maybe somebody can just explain to me....
I tried to make a line in an indicator, that would represent the low of the day, and basically just be a straight, horisontal line that would be drawn at the lowest point of the current day, and basically start over the next day... (obviously I'd like to do more than this, but if I know this simple thing, I would be able to get on with my life)...
This is my code(inside the OnCalculate function:
Now I thought the the iBarShift would reset to zero at the beginning of each day, as it does when I make and EA, but it just keeps on growing, and in any case, I don't know if it would help if it would reset... the line basically keeps on being drawn and never resets, and it just registers the lower lows for each new day...
Please help me! :)