I'm a newbie on pine-script, what I'm trying to do is change a past series value, in particular:
myseries[1] = dummy
Can anyone tell me if it is possible? And if it is how to do it?
all the best in advance.
This feature is required if you want to plot a line of type style_linebr, and want to add a break in line at the previous bar.
Related
I can't for the life of me figure out why my transform which I have setting a 'constant' value is not setting it? Anywhere I can look for details?
Here's the add header - constant step
So WHY do I not get my test value in the output??
I even tried 'set field value to constant' step which takes the one row coming from my filer step and sets it to a constant value which also produces nothing! IDK whats going on here!
Thanks for the suggestions… I actually figured this out it has to do with the fact that the text output steps have a setting to not create when the transformation first starts I had to check that box…
I am trying to generate a mockup for t-shirts.
The result I am trying to achieve is the following: https://prnt.sc/kzhjk7
Using cloudinary, this is the closest result I have been able to produce:
https://res.cloudinary.com/worldwide-buy-llc/image/upload/c_scale,o_0,w_380/a_0,c_scale,l_TemplateSquare,r_0,w_380,x_900,y_190/c_scale,l_TemplateSquare,w_380,x_-310,y_240/c_scale,u_Mockups:Kids_White,w_3623,x_0,y_0/c_scale,l_Mockups:Kids_Whiteover,o_100,w_3623,x_0/v1538036215/TemplateSquare.png
However, it still looks different from the image that I would like to achieve.
I read that I could apply displacement. For this reason, I do have a displacement map stored at Mockups:Kids_WhiteOver
Do you know how can I apply it? Also the colors of the layers TemplateSquare appear weak in comparison to the target result ( https://prnt.sc/kzhjk7 ).
Any suggestion is very much appreciated since I am literally stuck to achieve that result. Many thanks in advance!
You can try removing the opacity from the transformation and use the multiplying effect.
How about this one: https://res.cloudinary.com/shirly/image/upload/o_0/l_TemplateSquare,w_380,y_300,x_-450/l_TemplateSquare,w_380,y_100,x_650/l_Kids_Whiteover,e_displace,x_10,y_10/u_kids_white,e_multiply/TemplateSquare.png
Let me know if that result can work for you.
I was trying to make the even calculator without using code in LabVIEW but the problem was when i ran the code i get 0 between all the even numbers between 1-100.
I just want the even no in array not 0s.
What modification should i make for it.
Vivien's answer will not going to help you.
You are in right way. Just right click on the output terminal and select Conditional terminal. Remove case structure and connect your boolean line directly to the conditional terminal.
Please read here: https://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/condacc_valuesnloops/
PS. to get evens between 1-100 you should add 1 to iteration terminal (or you will have event between 0-99).
You can do something like this :
I have a CCTR-800 Portable GPS tracker and I'm receiving data from it in the following format:
*130622214449UB05CW9999C00017093214449A28.452306052.197705130622129.0111111111L000000^
*130622214449UA010214449A28.452306052.197705130622129.0111111111L000000^
Someone have an ideia of what format is this?
I know that the first numbers are date/time: 13-06-22 21:44:49.
I found it, it's Viczone's protocol:
http://www.gps-profi.ru/tech/Communication_Protocol_for_VIC-T801.pdf
So if you break the line up into segments based on the letters you end up with something like this
*130622 214449 UB05 CW9999 C00017093214449 A28.452306052.197705130622129.0111111111 L000000
*130622 214449 UA010214449 A28.452306052.197705130622129.0111111111 L000000
I would start with getting a list of coordinates or where the points were recorded and try correspond the points you recorded with the data.
The first grouping is going to be date and time
The second grouping UB / UA / CW / C seems to change based on the line. Does it always alternate like that? Do the numbers change based on location?
The third grouping A seems repeatable and may be location data
The last grouping L seems kinda of useless but it could change based on other parameters. Does it always report back 0?
Can you move to the GPS to from point to point (say one end of your room to the other) and get repeatable or similar numbers?
It would be worth a shoot to look up if anyone else has worked with that type of GPS.
I am trying to put in a range using a Number Formatter component added to a text file. The problem occurs when I input a consistent sequence of number '9'. The field will keep on adding to what is in there ( i .e. 99999999999) up to a 10th number, and then the field will be changed to a random 6 digit number?
Is that a bug with the Number Formatter? Any workarounds?
Also, can I create my own number formatter? That would be the best if a bug does exist I think.
Thanks!
I have tried the same thing on another version of Xcode and it seems to works fine.. Maybe a problem with that version's number formatter..
Thanks for your help.