PineScript has gone a long way, from very simple and little-capable scripting language to a robust coding platform with reliable execution endpoints. However, this one small intuitivity glitch is still there and is likely to stay, because it is traditionally justified and quite intuitive for significant group of traders. I'm sharing this workaround in response to...
Variety of possibilities offered by PineScript, especially thanks to recent additions, created some confusion. Especially one question repeats quite often - which method to use to trigger alerts? I'm posting this to clarify and give some syntax examples. I'll discuss these 3 methods in chronological order, meaning - in the order they were introduced to...
Howdy Algo-Traders! This example script has been created for educational purposes - to present how to use and automatically execute TradingView Alerts on real markets. I'm posting this script today for a reason. TradingView has just released a new feature of the PineScript language - ALERT() function. Why is it important? It is finally possible to set alerts...
Accidentally, I’m sharing open-source profitable Forex strategy. Accidentally, because this was aimed to be purely educational material. A few days ago TradingView released a very powerful feature of dynamic values from PineScript now being allowed to be passed in Alerts. And thanks to TradingConnector, they could be instantly executed in MT4 or MT5 platform of...
This strategy uses simple moving average cross for entry signals, but it can be customized with 3 cases: 1- exit at take profit and stop loss; 2- exit when distance between close and moving average is above a user defined minimum; 3- use Renko candles to calculate the moving average without changing the graph candles. The third case is the one with better...
This Strategy is based on LazyBear Squeeze Momentum Indicator. I added some custom feature and filters. You can customize a lot of features to get a profitable strategy. Here is a link to original study. Please use comment section for any feedback. Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple...
This strategy open orders on first bar of the week if there is a gap with Friday close price. First bar could be on Sunday or on Monday, it depends on broker time. Adjust starting hour with broker time. Use arrows to help finding correct broker time. Also you should adjust gap size and exit hour. Do not place on Daily charts. Please use comment section for any...
This Strategy watches 3 pairs at once. EUR/USD NZD/USD EUR/NZD it trades on EUR/NZD based on HULL_MA movements of all 3. It also uses SAR and DT on the EUR/NZD chart. Taken from the MT4 robot EURNZDbot