# Convert MQ4 to Thinkorswim TOS and show details in watchlist table

2019.11.09 インディケータ その他

## 指定

I have mq4 indicator (attached its ex4 - RDI.ex4 - i will share mq4 when we agree) - i want to :

1- convert this indicator RDI.ex4 from mq4 to thinkorswim TOS - i share only the ex4 here but mq4 available once we agree - It is about 130 lines code.

2- build a dashboard based on this new TOS indicator for multiple symbols and timeframes.
Dashboard can be shown in Watchlist table by adding 1 column for each timeframe.

based on the indicator built from #1 which will shows dots (green/red) below/above candles.
build a dashboard table which shows many timeframes/many symbols:
- color back the cell if candle (c-1) have dot (green/red).
- write the number of continuous dots (red/green) without interruption inside the cell : this # shows how many continuous dots appeared (continuous red dots or continuous green dots).

If we look at it in sequence as each new dot appears:
red dot - red count = 1
red dot - red count = 2
red dot - red count = 3
red dot - red count = 4
green dot - start new count - green count = 1
green dot - green count = 2
green dot - green count = 3
red dot - start new count - red count = 1
red dot - red count = 2
red dot - red count = 3
green dot - start new count - green count = 1
green dot - green count = 2
etc....

So : color the background of the cell with the corresponding color (red/green) if the candle (c-1) has a dot. and place a number that tells how many continuous dots it has Been in a row without interruption of other dot color.

Again - 1st column it shows if candle (c-1) appeared a green/red dot.
second column it shows green number / red number that reflects how many continuous green dots/red dots happened in a row without a new red dot/green dot come in to discontinue the sequence.

color the cell if the candle (c-1) happen to have a green/red dot and write the number of continuous dots that occurred in sequence without interruption of other dot color.

PNG
2.png
23.2 Kb
PNG
Reversal.png
46.8 Kb

30+ USD

27 USD