I am a bit confused trying to program something that will display 2 lines on the top and low of the range I specify so that it does the work automatically every day.
I started like this but I think this is not the way to go so I ask for advice :
(I want to keep the lines displayed even after Ti2 up to the end of the day)
inputs:
Ti1( 0830 ),
Ti2( 0833 ),
variables:
H1 (1),
L1 (100000);
If Time next bar >= Ti1 and Time next bar <= Ti2 Then Begin
If high>H1 then H1=RangeHi;
If low<L1 then L1=low;
End;
Plot1(H1,"High");
Plot2(L1,"Low");
Please help
Multichart and Breakout lines [SOLVED]
- Stanley Miller
- Posts: 556
- Joined: 26 Jul 2005
- Has thanked: 3 times
[SOLVED]
You are doing almost the same highest(high,length) lowest(low,length) fuctions do. Try to use them.
- Stanley Miller
- Posts: 556
- Joined: 26 Jul 2005
- Has thanked: 3 times