Hello,
I recently wrote a strategy that is a counter trend strategy so it looses money when markets are trending hard.
I would like my strategy to stop long / short trades from being re-entered if the prior long / short trade resulted in a loss, but I don't know how to program it into ninja script, as I am used to easy language.
So basically if the last trade was a long trade and it got stopped, I want my strategy to only look for short trades to enter, but once again, I do not know how to program it!
So please, if anyone could help me I would really appreciate it!!!
Thanks guys!
Julian
I recently wrote a strategy that is a counter trend strategy so it looses money when markets are trending hard.
I would like my strategy to stop long / short trades from being re-entered if the prior long / short trade resulted in a loss, but I don't know how to program it into ninja script, as I am used to easy language.
So basically if the last trade was a long trade and it got stopped, I want my strategy to only look for short trades to enter, but once again, I do not know how to program it!
So please, if anyone could help me I would really appreciate it!!!
Thanks guys!
Julian