Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

so I have written a script for a trading view strategy and am very happy with the outcome. I have attached this to an EA to which buy, sell and close signals come through great! I have a problem with ...
jamie mckenzie's user avatar
1 vote
1 answer
48 views

I have capsule view on which I would like to superimpose a second "sticker" view to the upper right and cannot get it to work. The upper sticker view remains centered. How can I get the ...
user6631314's user avatar
  • 2,050
0 votes
2 answers
250 views

I need to read a CSV file with a trailing comma at the end of each line: column1,column2, // header value1,value2, // values Note that the CSV file has only two columns. However the trailing comma ...
me.at.coding's user avatar
  • 18.5k
1 vote
2 answers
215 views

I have a method which returning a number In that method I have a string,='1.10' and converting to number using Number method Getting output as 1.1,but actually i need 1.10 Tried Number, parseFloat ,+ ...
Varun 007's user avatar
-1 votes
1 answer
284 views

I get a txt file using infile. Each row has a length of 261, but I only need the first 162. The problem is that the last 5 characters are blanks, but I need to keep them to export the entire variable ...
Cheminn's user avatar
  • 11
0 votes
1 answer
1k views

How to show BasicTextField trailing icon right after text in Jetpack compose. My example shows icon at the and of the row, with big space between text and trailingIcon BasicTextField( ...
Slava's user avatar
  • 767
0 votes
1 answer
56 views

I have two scripts I'm trying to implement this on. I'll use the simple one for the example here. In this example I'm trying to count the number of red candles and the number of green candles within ...
shaneaus's user avatar
0 votes
1 answer
126 views

I'm working on opencoobol1.1, and I encountered the weird problem: Here is the Cobol code: 03 WS-INP PIC X(30). 03 WS-INP-D REDEFINES WS-INP. ...
llx's user avatar
  • 1
0 votes
0 answers
19 views

I have used following .htaccess file #remove .php from url RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/$ $1.php RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php RewriteCond %{...
Shin Chin's user avatar
1 vote
2 answers
60 views

I have 2 sheets, one the user inputs data used as search criteria and the second sheet is the data being searched. Both my search value cell and column are formatted as a number with 4 decimal places: ...
SamwiseVB's user avatar
0 votes
1 answer
98 views

I work with a database (of which I am not the DBA) that has character columns of length greater than the actual data. Is it possible to automatically strip trailing whitespace when fetching data with ...
Thomas's user avatar
  • 553
-3 votes
4 answers
1k views

My number needs to be 8 digits long, however If its less than 8 digits long I need to add trailing zeros to the it. Example: 1234 Desired result: 12340000 I tried this at first: DECLARE @YourNumber ...
Rafa N's user avatar
  • 1
2 votes
2 answers
66 views

I have a list of expected animals: expectedAnimals = ['cat-', 'snake-', 'hedgehog-'] Then I have a user input (in string format) that contains some or all of the expected animals from the above list ...
Alex O's user avatar
  • 39
0 votes
1 answer
744 views

I have the following PowerShell API script: $VMname = "abcd" $IP_address = '2.2.2.2' $url = "https://ansibletower.xyz.com/api/v2/job_templates/12321/launch/" $token = "...
LJS's user avatar
  • 337
0 votes
3 answers
2k views

I would love your help. I'm coding a trading strategy that goes **long** on the break of a 40-day high, and closes that long position when a trailing stop is hit. That trailing stop is 3*ATR which ...
Dave_R_Pierce's user avatar
2 votes
1 answer
157 views

I ve started to teach myself the Flutter dart language. I have a list view builder widget established which I want to use multiple times in the app. The list view consists of a checkbox, a Text in the ...
datavinnie's user avatar
0 votes
1 answer
359 views

I am creating a simple Taskmanager for a schoolproject similar to apple's scrumdinger. I created two filesafer for each struct. But if I try to pass them further I always get the error "Extra ...
flandør's user avatar
1 vote
1 answer
556 views

I have a ListView in Flutter shows stores location information from firebase after that a function works to calculate a distance between customer location and stores locations and show distance value ...
Bader Abdullah's user avatar
0 votes
0 answers
24 views

I have a SQL column of Employee City and the file output requires 40 characters in length. The system retrieves a value that is 58 characters. This city value can change in length (Chicago, ...
codestrerrr's user avatar
0 votes
1 answer
1k views

I have ListView.builder which returns ExpansionTile. Inside of this ExpansionTile, I used trailing with row widget. When I use row inside of the trailing, I lost the animation effect, therefore I used ...
doclock4715's user avatar
1 vote
1 answer
4k views

I'm new to Pine Scripts and I'm trying to write a Strategy to test a new Indicator, the below is my code if Up and (downbefore == true) strategy.entry("buy",strategy.long,1000000) ...
The Collector's user avatar
0 votes
1 answer
534 views

I'm using Python 3.10.x So I would like to have all my numbers/floats the same amount of decimals and make it a locale format with or a dot or a comma as separator (I would like to have users choose ...
tvdsluijs's user avatar
  • 137
0 votes
1 answer
160 views

I would like to format the DataFrame Col1 Col2 Col3 -0.012 3.2 nan 0 -1 15.2 0.5 7.53 76.88 using trailing zeros, such that all values in each column have the same number of digits. The result should ...
Michael's user avatar
  • 377
0 votes
1 answer
244 views

I need to add "Remove trailing slash" if this slash is 2 or more. Using this Regex pattern (.*)/{2,}$ works in test pattern but does not work on live environment. For example: https://test....
Ivan Petkov's user avatar
-1 votes
1 answer
350 views

I'm currently working in an SQL database where a column has trailing spaces. The spaces in question show up as %20 in the browser url. I've been able to remove them with a select query but whenever I ...
DaSernet's user avatar
0 votes
1 answer
543 views

This question goes towards both my class method and my test cases. I have tried searching it up and implemented some of the methods I found online, but in my test case, it shows as Expected: 10.0 ...
struggling's user avatar
0 votes
2 answers
3k views

I am creating a currency input and I want my counter to be able to go up in pence, however, I currently have an issue: at the moment when I click the step, I get something like 0.38, 0.39, 0.4, 0.41, ...
Wobbulaxx's user avatar
0 votes
4 answers
5k views

I would like to horizontally center the trailing icon of my expansionTile, Here is my expansionTile with the trailing on the bottom right : I already tried to encapsulate the Icon in a Align and a ...
JS1's user avatar
  • 767
0 votes
0 answers
238 views

I find that toad formatter starts the next line of code under trailing comments. Is there a way to change this. This happens regardless of wrapping/stacking options. e.g. Original SQL: SELECT C1, C2, ...
Francois Evert's user avatar
0 votes
1 answer
302 views

I wrote a strategy that includes trailing profit by following examples of another coders. However, when the entry conditions are still valid and the strategy entry executed second time, it still takes ...
sakcali's user avatar
0 votes
2 answers
100 views

I want to print the length of a float number without trailing zeros using python. examples: 0.001000 >>> I want to get length=5 0.000100 >>> I want to get length=6 0.010000 >>...
Omar Al-khader's user avatar
5 votes
2 answers
4k views

When you use stripTrailingZeros for number ending with zero like 10, 50, etc. BigDecimal.toString() method decided to use scientific notation ( instead 50 prints 5E+1) Here is example code tested ...
gshock's user avatar
  • 741
2 votes
1 answer
487 views

I'm trying to add column in ListTile trailing but it gives me render flow error, plus it not align to it's title. here is my code SizedBox( height: MediaQuery.of(context).size....
TimeToCode's user avatar
  • 1,868
0 votes
1 answer
164 views

In excel, there is this formula: =ROUNDDOWN(D28-D33-D34, -2) and I got the results ==> 166400. But the result without the Rounddown formulas is ==> 166468.50. My question is how to get the same ...
gerald BARY's user avatar
2 votes
2 answers
522 views

I'm trying to remove all trailing HTML line breaks from a string., e.g. <br> or <br/> etc. So this: <br /> remove HTML breaks after this string <br/><br><br />&...
Adam's user avatar
  • 6,241
1 vote
0 answers
379 views

I have read a dozen posts and tried many things in TV, but I can't seem to understand how PineScript works regarding strategy exits. I have an indicator-calculated-Price for each Level I want to use ...
Kabott1's user avatar
  • 11
0 votes
1 answer
361 views

In below Short position strategy tester, the tester opens the short position which is fine. If position makes a profit, "Take profit trailing stop" works just fine. But somehow if position ...
Ovgu Sayan's user avatar
0 votes
3 answers
3k views

Want to draw a graph on a range of data which length can change depending on user input. So, empty cells at the end of the range should not appear on the graph, and the axis should not have these ...
Yster's user avatar
  • 3,355
0 votes
1 answer
675 views

AutoHotKey v. 1.1.33.09. Windows 10, Firefox, Edge, Chrome, multiple applications I have several lengthy email addresses associated with some non-profit work I do. I am creating shortcut keystrokes in ...
ronlee67's user avatar
0 votes
1 answer
315 views

Similar to the PreDefined Study "PriceChannel" that only changes it's value if there is a new low or a new high, I want it to only change it's value when a condition is met, then keep that ...
Griffin Collins's user avatar
1 vote
2 answers
1k views

I'm creating an ssrs form in oracle sql on which I need to list an address. New lines have to remain in the address however I can't find the way of removing new lines at the end of the address. ...
Fux Molder's user avatar
1 vote
0 answers
23 views

How can I make the trailing sell move up with price and not go down when price reverse without using the high of the current candle in PineScript //@version=4 study("Trailing Sell ", overlay=...
Johan Du Toit's user avatar
0 votes
1 answer
418 views

We are migrating DB2 data to PostgreSQL 11.x using AWS DMS, we have varchar fields in db2 with trailing spaces and without any TRIM these fields working fine when we are using these fields in a WHERE ...
vijay's user avatar
  • 1
8 votes
1 answer
3k views

I keep getting an error from swift playgrounds that it can't find the "missing argument for parameter 'closure' in call." func someFunc(closure: () -> (), closure2: () -> ()) { ...
Diego Salas's user avatar
2 votes
0 answers
431 views

I have a strong background in VBA, Excel is my second nature. Now I've been trying to get the simplest strategy working on TView for days already but I just cant grab the logic yet. I created my own ...
OrangeCheeto's user avatar
0 votes
2 answers
979 views

This code: cout<< to_string(x) + "m ----> " + to_string(x *0.001)+ "km"<<endl; with this outputting: 0.002000 However, I want to remove the trailing extra zeros, but it should be in ...
3.00AMCoder's user avatar
47 votes
11 answers
79k views

How to turn off the prettier trailing comma in VS Code? I go to settings. Select none for the prettier trailing comma. Restart VS Code. Select a piece of TypeScript, press Ctrl + Shift + F and the ...
manymanymore's user avatar
  • 3,304
0 votes
3 answers
317 views

I have two inputs that get multiplied and I need the result to be rounded down without trailing zeros. I have tried a few different built-in methods, such as number.toFixed(2), but they did not ...
Lord Taylor's user avatar
2 votes
0 answers
813 views

I was reading Trailing commas and .forEach() documentations on MDN meanwhile playing with arrays. So let's imagine a scenario when you have an array with elements like Number, undefined and created ...
norbitrial's user avatar
  • 15.2k
1 vote
1 answer
305 views

I am importing a csv file into a Postgres Table. The file has the following format: 2019/12/13, 14:56:02, 3172.50, 3174.25, 3172.50, 3172.50, 1, 1, 1, 0 The table is defined as: CREATE TABLE ...
WhiteStork's user avatar

1
2 3 4 5