Hello I was wondering if anyone can help me with this issue
Let's make an example with simple numbers:
If Crude Oil is trading at 55.40 then it goes to 55.39, 55.38, 55.37, then it starts to go up again, 55.38, 55.39 55.40
Once it trades 55.40 again that is when I want the script to generate the Long signal
Basically wait for a pull back and then enter
Can anyone show me how to write that sequence?
Thank you
Need a little bit of help
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Need a little bit of help
What is your chart resolution?
The numbers in the example, do you mean bar closes? or ticks?
The numbers in the example, do you mean bar closes? or ticks?
Re: Need a little bit of help
Hi
I use Line Break charts and yes bar close and all my trades are Mkt orders by the way
All I want to do is wait and enter the second time around when it reaches the same entry price again
Thank you very much
I use Line Break charts and yes bar close and all my trades are Mkt orders by the way
All I want to do is wait and enter the second time around when it reaches the same entry price again
Thank you very much
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Need a little bit of help
just program it EXACTLY as you have described it. For example:Hello I was wondering if anyone can help me with this issue
Let's make an example with simple numbers:
If Crude Oil is trading at 55.40 then it goes to 55.39, 55.38, 55.37, then it starts to go up again, 55.38, 55.39 55.40
Once it trades 55.40 again that is when I want the script to generate the Long signal
Basically wait for a pull back and then enter
Can anyone show me how to write that sequence?
Thank you
Code: Select all
IF C = C[4]
and C>C[1] and C[1]>C[2} and C[2]>C[3]
and C{4]<C[3] . . .
THEN BUY . . .