Create your first conditions
Conditions are the basis of Kaktana's strategy editor.
Here's how they work and what to do with them.
Buy When/Sell When
There are two main kinds of conditions: "Sell when" and "Buy when".
Whenever "Buy when" conditions are valid, the bot buys.
Whenever "Sell when" conditions are valid, the bot sells.
Your bot will buy/sell whenever one of their OR conditions is valid.
For instance, let's say your bot needs to sell when its target profit is reached OR when its stop loss is hit.
Then, you'll use OR conditions, because you don't want your bot to wait for the two conditions to be met.
AND conditions are contained inside OR conditions. An OR condition will be valid whenever all its AND conditions are valid
For instance, here, we're buying when all three conditions are met:
- 2H EMA 10 is above 2H EMA 50
- 2H RSI 14 is above 50
- 5m RSI 14 is below 30
What to do from now
Now, you know how to build strategies using our conditions editor.
This knowledge acquired, you can skip to implementing complex strategies, like the highly-successful turtle strategy