type: alert creation required time: 5 minutes level: easy Getting alerts for indicators and strats is good to easy the eyes of the charts for a while :) After my first script itroducing how to do alerts here there is an easier, more clear way to create an alert. It's still good to do it the "old way" to understand/debug an alert, but after that you'll want this...
type: pine series basic example time required: 10 minutes level: medium (need to know the "array" data variable as a generic programming concept, basic Pine syntax) tl;dr how variables and series work in Pine Pine is an array/vector language. That's something that twists how it behaves, and how we have to think about it. A lot of misunderstandings come from...
type: properties manipulation, no programming needed time required: 15minutes, at least level: medium (need to know contracts, trading pairs) A strategy can "appear" to work or be broken depending on the pile of cash that is working on. This amount is defined in the strat properties, under "order size". For noobs (like me) this is very confusing at first :) A...
This simple strat fires up on green bars, down on red bars. cannot get any simpler. So, it's a good example to check how returns are calculated. First, the internal firing mechanism for the strategy.entry function is something hardcore. As result, the entry points can be confusing, and seem to appear in a wrong bar (as the 2nd and 3rd signals are good examples),...
my first script!!! took me a couple of hours to put it together, the documentation could be much, much better