## Comment on Managing your Script

Here’s the code for the first part of your strategy…

SOPK (3, 3, 3, EXPONENTIAL) < 30 AND SOPD (3, 3, 3, EXPONENTIAL) < 30 AND SOPK (3, 3, 3, EXPONENTIAL) > SOPD (3, 3, 3, EXPONENTIAL) AND REF (SOPK (3, 3, 3, EXPONENTIAL), 1) < REF (SOPD (3, 3, 3, EXPONENTIAL), 1)

Here it is for the second part

SOPK (3, 3, 3, EXPONENTIAL) > 70 AND SOPD (3, 3, 3, EXPONENTIAL) > 70 AND SOPK (3, 3, 3, EXPONENTIAL) < SOPD (3, 3, 3, EXPONENTIAL) AND REF (SOPK (3, 3, 3, EXPONENTIAL), 1) > REF (SOPD (3, 3, 3, EXPONENTIAL), 1)

Remember that only alert is not possible, but what you can do is, create a strategy with the expressions given above for buy and sell, apply it in live and ignore the signals.

Buy when the the Fast Exp mavg. cross over Slow exp mavg from below

EMA (CLOSE, 8) > EMA (CLOSE, 18) AND REF (EMA (CLOSE, 8), 1) < REF (EMA (CLOSE, 18), 1

Sell when the the Fast Exp mavg. cross over Slow exp mavg from top

EMA (CLOSE, 8) < EMA (CLOSE, 18) AND REF (EMA (CLOSE, 8), 1) > REF (EMA (CLOSE, 18), 1

Don’t see where MACD figures in this, although its mentioned in the parameters.

Answers for your other doubts:

1. Would I able to use the scripts for 1 minute / 5 minutes simultaneously or only 1 time chart is possible ?

-You can use scripts for multiple intervals simultaneously.

2. Would I able to use it for multiple charts ?

– Yes.

3. What is the bandwidth required for using the trading decision alerts?

– This would depend on the terminal usage, like number of scrips added in marketwatch, which subscribe for broadcast, number of charts invoked in the screen etc. Typically, a broadband connection with 256 kbps should be sufficient. If there are frequent disconnections, it will create issues in chart updation, ultimately affecting the signals generated. Also, when a script is taken live, you don’t have to keep the chart for the same open. This will reduce bandwidth consumption.