It must be just me, but I am unable so far to create this simple strategy for automation.
I plan to enter manually but have my strategy close my position when a condition is met.
I'll use the MACD histogram for simplicity.
I enter my position long and when the MACD (diff) histogram closes lower than the previous bar MACD histogram (diff) Ninja should close my position.
If all:
MACD/Diff Less than MACD/Diff 1 bar ago
Position Quantity greater or equal to 1
Do the following:
Exit Long position
A second tab with the inverse exists for short positions.
It seems like a no brainer, but my strategy does absolutely nothing.
Any ideas what I am doing wrong?
Comment