Unable to properly open Volume Imprint Source Code in IntelliJ

ScottyA

Well-known member
Joined
Aug 1, 2019
Posts
272
Likes
183
My java skills are as fluent as a kid that learned to spell his name and just picked up the WSJ... maybe not that bad, but they're elementary.

Running:
IntelliJ IDEA 2019.2 (Community Edition)
Recent SDK jar update (5/15/19)
Java 8 Update 221

When I open the MW Volume Imprint Study, it says I have 1,073 errors. Attached is a screenshot of the 1st few errors.

What I am trying to do is whittle down the VI Study to only offer a "per-bar-delta Study" without all the other tools.

Any direction to get this MotiveWave Source Code Study to not show errors would be most appreciated! Cheers,

Scotty A
 

Attachments

  • Screen Shot 2019-08-13 at 11.46.51 AM.png
    Screen Shot 2019-08-13 at 11.46.51 AM.png
    848.2 KB · Views: 44
Last edited:

Nudge

Member
Joined
May 22, 2019
Posts
17
Likes
6
Hi Scotty,

Can you check the following under Project Structure. Under Project Settings->Libraries, you should have the mwave_sdk.jar linked, under Platform Settings->SDK you should the Java SDK linked. Then under Project Settings->Modules, make sure you set the scope of mwave_sdk to compile.

I develop on Mac so the paths will be different to Windows (if you're on that) but you will need to know where your JVM is installed.

If you want to use the Ant build file supplied by MW, you should also install the Ant Support plugin.

Hope that gives you some help.
 

ScottyA

Well-known member
Joined
Aug 1, 2019
Posts
272
Likes
183
Thanks Charlie, for holding my hand.

Everything is linked properly and checks out. I even updated the JDK and SDK this morning to confirm. I'm working on a Mac as well and had help setting up my environment and Ant build by an amazing developer, Daniel Sinnig.

What I've always been able to do is Copy and Paste the .java file into the src > com > motivewave folder within IntelliJ here...

57

And then Open. Again, all the .java links seem good...

58

The 1st issue I get is with var:

59

I pulled the .java file from this link: https://support.motivewave.com/foru...evelopment-kit-documentation-and-resources.5/

Thanks again,

Scotty
 

Nudge

Member
Joined
May 22, 2019
Posts
17
Likes
6
hmmm

Under Project Structure->Project Settings->Project make sure your Project language level is set to the right one (I use - 8 - Lambdas, type annotations etc)

Then also check under modules/sources tab in the same window it is set to the same, should be project default.

If that doesn't help, you could try the following.

You could try clicking File->Synchronize or if that does not work try File->Invalidate Cache/Restart

Sometimes Intellij can get confused.
 

ScottyA

Well-known member
Joined
Aug 1, 2019
Posts
272
Likes
183
All the boxes have been checked. Unfortunately, neither Synchronize nor Invalidate Cache/Restart worked.

However, I changed the Project language to "10 - Local variable type inference," and many of the errors disappeared... progress! Here's where the 1st error appears:

index.php


Cheers Charlie,

Scotty
 

Attachments

  • Screen Shot 2019-08-15 at 3.55.25 PM.png
    Screen Shot 2019-08-15 at 3.55.25 PM.png
    666.7 KB · Views: 154

MotiveWave_Joe

Moderator
Staff member
Joined
Mar 26, 2019
Posts
223
Likes
67
Hi Scotty,

Looks like you are missing dependencies. I believe that specific study uses classes from the common, nls and volume folders but you can always double check it.
Try copying them over and including them in your package.
 

ScottyA

Well-known member
Joined
Aug 1, 2019
Posts
272
Likes
183
Thanks Jo-Jo.

I added VolumeProfile and ConcurrentList. These solved most of the issues for missing dependencies in VolumeImprint, but now ConcurrentList is missing dependencies. LOL. Also not sure how to incorporate anything from the nls folder as they are strings properties.

Thanks again for y'alls help.

Scotty
 

Tandemas

New member
Joined
Jan 22, 2020
Posts
3
Likes
1
Thanks Jo-Jo.

I added VolumeProfile and ConcurrentList. These solved most of the issues for missing dependencies in VolumeImprint, but now ConcurrentList is missing dependencies. LOL. Also not sure how to incorporate anything from the nls folder as they are strings properties.

Thanks again for y'alls help.

Scotty
Is the source code is available somewhere? I would like to improve a lot of stuff on VI for myself.
 

Blonde

Well-known member
Joined
Jun 3, 2021
Posts
52
Likes
0
Is the source code is available somewhere? I would like to improve a lot of stuff on VI for myself.
Hiya @Tandemas



Thanks. It would be nice if the indicators here would be open source for paid Motivewave Ultimate customers?


Tnx and best of luck 😇
 
Last edited:

Spin

Well-known member
Joined
May 22, 2019
Posts
477
Likes
191
I checked and indeed: Volume Imprint does no longer seem to be part of the 'SDK Starters Kit' :unsure: (can be found here)

I guess MW no longer wants us to tinker with their 'secret company sauce' :)
 

ScottyA

Well-known member
Joined
Aug 1, 2019
Posts
272
Likes
183
I checked and indeed: Volume Imprint does no longer seem to be part of the 'SDK Starters Kit' :unsure: (can be found here)

They've been very protective for a while of any Open Source indi's that come in the Ultimate package.

What's to stop someone form simply repackaging and selling them more cheaply? Anyone else want to share the code for their custom built Indi's for free? LOL Seems like a wise business decision IMO.

----------------------------------------------
Speaking of custom code... @Spin I LOVE the work you're doing on your website! You've got some great stuff out there, and I would recommend anyone interested in some solid coding done for Custom Indi's, link up with @Spin!
 

Spin

Well-known member
Joined
May 22, 2019
Posts
477
Likes
191
They've been very protective for a while of any Open Source indi's that come in the Ultimate package.

What's to stop someone form simply repackaging and selling them more cheaply? Anyone else want to share the code for their custom built Indi's for free? LOL Seems like a wise business decision IMO.

----------------------------------------------
Speaking of custom code... @Spin I LOVE the work you're doing on your website! You've got some great stuff out there, and I would recommend anyone interested in some solid coding done for Custom Indi's, link up with @Spin!
The Ellliot Wave stuff is the most valuable imo, and that was never in the SDK-kit (as far as I know)
One could argue about VolumeImprint: a lot of people use it, and it would be 'better' if the handful of MW-coders could adjust/improve it slightly. MW could then use the 'updates' in a next release. Could be a win-win, no ? :LOL:

-----------------------------------------------

Thank you for those kind words, @ScottyA. Even though it has been aaaaaaaaaages since I updated that site (worked on a bunch of projects in the meantime, but I am most of the time not allowed to disclose what I did), people still seem to find me. I probably should add that I can make MW send messages (signals, alarms, TP hit, ...) to Telegram-users or -groups, now that I think of it...
About half of (potential) customers are surprised when I give them a quote for the work they want done (no, I cannot code a multi-window, complex-logic Study that uses 3 or more other Studies and draws a bunch of lines and markers for 200$ 🤪), but I guess that's normal.

Getting such an endorsement from a well-respected forum member like yourself humbles me. Truly appreciated ! 🙇‍♂️
 

sebinho

Member
Joined
Nov 19, 2022
Posts
11
Likes
3
Can someone share those orderflow studies like the volume imprint? They are not accessible anymore. Many thanks
 
Top