[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 105
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
That's it. I'm all messed up and my head's not working anymore.
here is the code
I want to draw the following. i need to find the minimum point for the last 3 candlesticks. compare it with the minimum price of the last 20 candlesticks. if the last 3 candlesticks are lower and the candle is black ( Open[2]>Close[2] ) then look further.
I need to find a bearish takeover ( Open[1]<=Close[2] && Open[2]<Close[1] ).
And open a buy position.
It seems to be correct, but i feel something is wrong.
I will be very grateful if you can help me.
and open a buy position.
everything seems right, but there is something wrong.
only as far as here.
Nothing further.
only as far as here.
Nothing further.
So, what condition is not fulfilled next? What does Comment or Print tell you?
check if your conditions are fulfilled on the historical data using Print(), like this:
just did what you asked. nothing is happening.
The problem is in this expression
if I removeLow1<Low2 then Open[2]>Close[2] is executed, if I remove Open[2]>Close[2], Low1<Low2 is not executed
Low1<Low2 is not met