hi -
I have a script that works well in drawing a 9:30 line at 50% of open/close and one for the open of 10:00 bar.
I then wrote a quick script (not written very well and some things dont apply in it but works) that will calculate the highest of the bars from 9:36 to 9:54 (did Math.max...etc) and then draw a line then if any bar breaks this line to alert me but....
I was looking to do this:
once a bar breaks this line, alert me (which I can do and works)...now what I wanted to do was to find a way as to once it finds this FIRST bar to stop. I only want the first bar to alert me, now it alerts on me on the rest of the ones that are formed throughout the day. I would think this would be very simple but I cant figure out the code...
One thing I have to figure out next is:
if any one bar (say 12:00 bar) is below the first bar (9:30 bar)of the days low -.05 cents (the 9:30 bar at this moment) then do not give me any alerts at all even if the another bar later on (say 1:00 bar) breaks the 9:36 to 9:54 line.
I still cant paste here the code??? agghhh
I'll have to upload....I tried to paste the code but it wouldnt let me still
I have a script that works well in drawing a 9:30 line at 50% of open/close and one for the open of 10:00 bar.
I then wrote a quick script (not written very well and some things dont apply in it but works) that will calculate the highest of the bars from 9:36 to 9:54 (did Math.max...etc) and then draw a line then if any bar breaks this line to alert me but....
I was looking to do this:
once a bar breaks this line, alert me (which I can do and works)...now what I wanted to do was to find a way as to once it finds this FIRST bar to stop. I only want the first bar to alert me, now it alerts on me on the rest of the ones that are formed throughout the day. I would think this would be very simple but I cant figure out the code...
One thing I have to figure out next is:
if any one bar (say 12:00 bar) is below the first bar (9:30 bar)of the days low -.05 cents (the 9:30 bar at this moment) then do not give me any alerts at all even if the another bar later on (say 1:00 bar) breaks the 9:36 to 9:54 line.
I still cant paste here the code??? agghhh
I'll have to upload....I tried to paste the code but it wouldnt let me still
Comment