Entering after 5 bars short
Hey Vitico,
I also am a Beginner, here is my suggestion.
" if (Open[5] > Close[5] && Open[4] > Close[4] && Open[3] > Close[3] && Open[2] > Close[2] && Open[1] > Close[1]) Order = SIGNAL_BUY"
I think there is a simpler version of this but like I said, I am a beginner and this SHOULD perform what you suggest.
Hey Vitico,
I also am a Beginner, here is my suggestion.
" if (Open[5] > Close[5] && Open[4] > Close[4] && Open[3] > Close[3] && Open[2] > Close[2] && Open[1] > Close[1]) Order = SIGNAL_BUY"
I think there is a simpler version of this but like I said, I am a beginner and this SHOULD perform what you suggest.
many thanks, Im overcomming the first steps
thanks again
vic
Hello all,
Im just real beginer on programming and im trying to code my first strategy. What I want is to create a code that after 5 bars in short enter in long until get 10 pips.
Is this possible?? can you give me the hint about how to write this code?
I will really apreciate your help.
thanks in advance again
vic