Prices @Specific Times

iamkmkcinney

Member
Joined
Nov 15, 2020
Posts
9
Likes
0
Hello,
I'd like to 2 indicators

  • Plot a trendline of the highest & lowest price between a specific 24hr time period.
    i.e Futures market print trend line Low and High between 6p and 930 am
    _possible options_
    • Select Timeframe
    • Select show only today or include all days
  • Plot trendline at specific time
    i.e. plot the price

    If I have some code snippets I can develop it further. I just need a starting both. I would appreciate any support you can provide.

    Thank you
 

Spin

Well-known member
Joined
May 22, 2019
Posts
472
Likes
188
Hello @iamkmkcinney and welcome to the MotiveWave Forums :)


I believe you will find all the functionality of that first 'indicator' in the already included 'TimeFrame'-Study. You can download the source code for it (and for all the other 'standard' MW-studies) here:

https://www.motivewave.com/support/sdk.htm

I am not entirely sure I understand what you want for that second Study, but it does not seem so exotic, so one of the other standard MW-Studies might already contain similar code.

Good luck !
 

trdrbust

Member
Joined
Nov 13, 2020
Posts
18
Likes
4
@Spin the only source code I found on that page is for 6 example studies, I did not see the source code for the 'TimeFrame' you mentioned above.
 

Spin

Well-known member
Joined
May 22, 2019
Posts
472
Likes
188
I made a small mistake. I'm sorry.

The source code for all (275+) the standard MW studies is to be found elsewhere. The MW-crew posted a link here:
https://support.motivewave.com/foru...evelopment-kit-documentation-and-resources.5/

You should find what you need there. 'Timeframe' would be lower in the list below:

478

@MotiveWave_Jason: would it not be better to add a link to the 275+ studies on the SDK-page of the site as well ? Makes it a whole lot easier for people taking their first SDK-steps... :)
 
Top