Properties
Essential block for all new code.
Put it first.
OnTick
Essential block so that the following functions are executed on each tick.
Once you have placed all your functions that activate on each tick, use the EndFunction block as the end block.
OnInit
This block is essential if you want to activate functions during expert initialization.
Once you've placed all your functions that activate during initialization, use the EndFunction block as the end of initialization block.
OnDeinit
This block is essential if you want to activate functions at the end of the Expert Advisor's activity.
Once you have placed all your functions that activate at the end of the Expert Advisor's activity, use the EndFunction block as the end block.
EndFunction
This is an essential block to add at the end of a function to close it if it's still open.
Required if you're using blocks like OnInit, OnDeinit, or OnTick.
RSI
RSI indicator.
You can set up the name, the period and the shift.
Exemple of shift :
If shift = 0, it uses the current price.
If shift = 1, it uses the price of the last closed candle.
OrderBuy
A block to send a order buy at the current price.
Stop loss and Take profit are in points, below and above the price of the order.
OrderSell
A block to send a order sell at the current price.
Stop loss and Take profit are in points, above and bellow the price of the order.