How do I add a long/short function to my strategy using the up and down arrows of an indicator? - automation

So I am looking to write a script that will auto buy/sell when the indicator I'm using shows an up or a down arrow. I've been digging thru the literature on Trading View for days and have not been able to complete the function.
Any help is greatly appreciated.
Aloha!

Related

Visual Studio Code intellisense showing one suggestion at any time

Normally when I used to type in my VSCode editor, the intellisense showed all the possible suggestions for the entered query.
However, now as I type, only one suggestion is shown that best matches the query.
For instance, when I type in b, the intellisense just shows a suggestion for the HTML <b> element — not a list of suggestions including tags such as <button>.
Is there any way to change this? I have searched a lot of the net but couldn't find any sort of help.
VS Code 1.51 made the list of suggestions resizable so it's possible your suggest widget is simply shrunken down to be a single line high.
To fix this, trigger suggestions and then click and drag at the bottom edge of the suggest widget to increase the number of visible suggestions.
Note that you can always use the arrow keys to navigate through suggestions, even if only one suggestion is visible. Use this to check if the widget is simply too small or if there really is only one suggestion
I wasted time on this too... (bummed)
Solution:
Open: Command Palette
Type: ">Reset Suggest Widget Size"
Select: 'click' or [ENTER]
Opinion:
Wish I saw Matt Bierner's answer sooner.
(The suggestion window can be resized by dragging its borders with your cursor.)

User input range for XY graph

I'm a beginner user of labview so bear with me, please. I'm working on a project that takes a data text file with columns and rows as an input. I have the project set up so far to take the data from that file and display it in an XY graph.
I want to add a feature where the user inputs a set of values that represent a range in the x-scale. The program should take those two values and make a new graph (or use the old one, that works too) with the proper scale.
I greatly appreciate your time and help .
Thanks
Edit :
A snippet of the txt file.
The red arrow shows what I tried to use from the help section of labview. Yet I have little to no idea on how to integrate it into my diagram or vet if its the right tool to use.
These numeric values input in the front panel is what I thought could work, but I'm all ears to any suggestions.
You already found the correct property node value :)
You have to connect a minimum and a maximum value to the property node. If you click on the function on the node, you can select the min and max option.
I made this little example for you to see what you need to do.
Property nodes are in genereal very useful as you can set and change so many settings programatically.
A nice feature of LabVIEW: You can drag&drop .png pictures in your Block Diagram. So if you want to test my VI-Snippet, just drag&drop it :)
I hope that I could help you, feel free to ask if you have any more questions.

IntelliJ v14, how to bring up a method parameters information via keyboard or mouse input?

I really like how IntelliJ displays the information of the type of parameters that you are required to fill in as you are writing the code. The problem is that this info sometimes disappears if u click somewhere to check something etc. I never quite know how to get it to display that information again in same fashion. So I always spend some time to fiddle around until it displays that info again in the same fashion. I know you can hold down on ctrl and hover over the method name to bring up parameters information but its not quite the same and it then does not highlight on what parameter you are currently on. IntelliJ also brings up required parameters type of information when you are starting to go wrong. It brings up this big separate box and you can get very clear view of what needs to be done. I've taken a screenshot of the type of information that I'm on about. Both of them are on the same pic.
Please check it out.
My question: is there a way to bring this information up via keystrokes or mouse input at will? I've tried to google for an answer but I haven't had any joy. Please advise as I'm sure someone else might like this information too.
Thank you.
PS. I know that a good code does not usually have that many parameters but in my case there is not much that can be done.
Default shortcut for that is CTRL-P when cursor is inside the brackets.

Template 10:Using MasterDetail along with Hamburger Template

I am using template 10 for developing a UWP app and i'm using hamburger template so when a user clicks on a particular category i would like to navigate him to a event list in a master detail view where on left is complete event list in that category and on right selected event details.There is a sample provided and its difficult to understand and don't know how to use the sample in my app along with hamburger navigation.Also as an extra feature if the user clicks on a particular category the hamburger panel should hide and masterdetail view of event should come.And when user click on back button the panel should appear again with that page.
If anyone could help me it would be of great help.Thanks in advance.
There is a really detailed sample in the repository. It has 2 examples in total. 1 a control being developed by a community member. The other is a design based around using basic XAML with visual states along with responsive triggers for screen sizing.
I've implemented the response non-usercontrol variant and it works very well. The other control based scenario has some good features and is being updated often for feature additions and corrections.
Master Detail Sample
I think what you might be looking for here is a slightly simpler thing that we are able to give you. Master/Detail is certainly not splitting the atom. That being said, it's not just a drag and drop thing either. Your are going to need to take a look at the sample. Try to reproduce it exactly into a blank project. It's a great resource, but it's not a control for you to use as much as a sample for you to refer to. I certainly wish I had a simpler answer for you, but this is going to take a little effort on your side to understand the mechanics and implement it. In the end, once you pass that "ah ha" moment, I think you will look back and realize it's simpler than you thought. But until you understand how it works at a fundamental level, it's just going to continue to confuse you. I agree with #mvermef that the visual-state approach (the primary approach) is the easiest and uses the skills you will want to learn for future development, too. But, to that end, please recognize there are TWO approaches in that sample. One uses view-states and the other uses a custom user control. If I were you, don't pick the second approach. The first approach will be easy to understand, easy to implement, and wonderfully helpful to understand for other things later down the road.

Span Background

I just started at a new job and took over a site from someone who coded a site very strangely. I have figured out most of the issues but have a hiccup that hopefully you guys can help me with.
http://newcombspring.stifel-marcin.com/ is the site. If you go over the Products link you'll see that it drops down and that there is a hover background in place but I can't get a generalized background to show up. I currently have it set to black(#000000) and the only way I've gotten it to work before is by setting both a width and height but as you can see, the different drop downs are different heights so that obviously isn't a solution.
I wanted to see what you guys thought would be the best plan of action on getting this to work correctly.