NexusFi: Find Your Edge


Home Menu

 





Convert MQ4 to Thinkorswim TOS and show details in watchlist table


Discussion in ThinkOrSwim

Updated
    1. trending_up 971 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 5 attachments




 
Search this Thread

Convert MQ4 to Thinkorswim TOS and show details in watchlist table

  #1 (permalink)
omrangassan
Riyadh - Saudi Arabia
 
Posts: 35 since Aug 2012
Thanks Given: 7
Thanks Received: 5

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.

Attached Thumbnails
Click image for larger version

Name:	2__4.png
Views:	180
Size:	23.2 KB
ID:	279309   Click image for larger version

Name:	Reversal.png
Views:	159
Size:	46.8 KB
ID:	279312   Click image for larger version

Name:	Screenshot_17.png
Views:	168
Size:	61.4 KB
ID:	279315   Click image for larger version

Name:	Screenshot_18.png
Views:	159
Size:	73.4 KB
ID:	279318   Click image for larger version

Name:	Screenshot_20.png
Views:	161
Size:	68.5 KB
ID:	279321  
Reply With Quote




Last Updated on November 9, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts