Buy/Sell Strategy/Indicator

Job ID: 36063283

Budget: $750 – $1,500 USD

Hello, I need a pinescript created that will amalgamate several indicators at once into a buy or sell signal (from which I can create alerts). The following are to amalgamated as follows:
1. Available Machine Learning: Lorentzian Classification
2. 200 EMA
3. Laguerre RSI (KivancOzbilgic)

The Machine Learning Script will issue Buy and Sell Signals. The new script to combine that signal with the value above or below the the 200 EMA and the value of the Laguerre RSI.

Issue Buy Signal if:
1. Machine Learning issues a Buy Signal, Price is above 200 EMA and Laguerre RSI has crossed above 20. If issued, issue close order when the Machine learning indicator trend line becomes red.
Issue Sell Signal if:
2. Machine Learning issues a Sell Signal, Price is below 200 EMA and Laguerre RSI has crossed below 80. If issued, issue close order when the Machine Learning indicator trend line becomes green.

Thus the outputs of the new amalgamated script are:
1. Buy Order and subsequent close.
2. Sell Order and subsequent close.