Base Logic for Interactive Text Script: Likely of use to all
Posted: 10 May 2010
NOTE: Regarding the next paragraph, as of MC 7.0 Beta 1 and later, new Getactive commands were created to replace the ones below which changed to acting like the TS GetActive commands upon MC 6.0 Beta 3. These new MC 7.0 commands are MC_TL_GetActive, MC_Text_GetActive and MC_Arw_GetActive.
Actually this thead has a few ideas and scripts that make use of the old MC version of the Arw_GetActive, Text_GetActive, TL_GetActive commands. Near the end there is a new one I added which is a practical value of the base script that is in this post (Something that could be useful for almost any trader so I donated it to promote the use of these old versions of these commands).
Written by John Bowles.
This is a Base Interactive Script/Study you can use for manually starting or stopping a study by clicking a text command on the chart
Its uses are only limited to things you can come up with - In theory its use is infinite.
It does not matter if you are a fully automated trader or not.
Most likely you can at some point find a use for the logic behind this script.
Just insert your logic where it says to do so in the script comments.
As an example, you might want it to clear old trend lines from your chart prior to a certain time or date. Insert that loop in this script and you just highlight the letter on the chart and it is done. Once it is complete you remove the highlight.
It will work on any MC version before MC 6.0 beta 3 and will work when they reestablish the MC version Text_GetActive logic.
The command will most likely be different when they bring the functionality back.
This base can be used for doing exactly the same thing with arrows or the trend line.
Maybe in time I will put samples in this thread.
Obviously you can do it with seconds bars commands as well.
Most likely you will want to remove the RingOut.wave sound if you create an actual application for this script.
One final note. I forgot to mention that (with arrows at least) this command can be very useful with arrow manual drops rather than arrows which are preplaced by a study. Generally this would be done with the higher numbered IDs on the chart after all the preassigned IDs are used by studies.
Actually this thead has a few ideas and scripts that make use of the old MC version of the Arw_GetActive, Text_GetActive, TL_GetActive commands. Near the end there is a new one I added which is a practical value of the base script that is in this post (Something that could be useful for almost any trader so I donated it to promote the use of these old versions of these commands).
Written by John Bowles.
This is a Base Interactive Script/Study you can use for manually starting or stopping a study by clicking a text command on the chart
Its uses are only limited to things you can come up with - In theory its use is infinite.
It does not matter if you are a fully automated trader or not.
Most likely you can at some point find a use for the logic behind this script.
Just insert your logic where it says to do so in the script comments.
As an example, you might want it to clear old trend lines from your chart prior to a certain time or date. Insert that loop in this script and you just highlight the letter on the chart and it is done. Once it is complete you remove the highlight.
It will work on any MC version before MC 6.0 beta 3 and will work when they reestablish the MC version Text_GetActive logic.
The command will most likely be different when they bring the functionality back.
This base can be used for doing exactly the same thing with arrows or the trend line.
Maybe in time I will put samples in this thread.
Obviously you can do it with seconds bars commands as well.
Most likely you will want to remove the RingOut.wave sound if you create an actual application for this script.
One final note. I forgot to mention that (with arrows at least) this command can be very useful with arrow manual drops rather than arrows which are preplaced by a study. Generally this would be done with the higher numbered IDs on the chart after all the preassigned IDs are used by studies.