220 questions
0 votes
0 answers
60 views
Intra candle alert 5 minutes chart
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 ...
1 vote
1 answer
48 views
Right align view superimposed on other view using SwiftUI
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 ...
0 votes
2 answers
250 views
Ignore trailing commas in CSV file when using CsvHelper?
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 ...
1 vote
2 answers
215 views
Trailing zero issue in angular
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 ,+ ...
-1 votes
1 answer
284 views
avoid sas removing trailing space
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 ...
0 votes
1 answer
1k views
How to show BasicTextField trailing icon right after text in Jetpack compose
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( ...
0 votes
1 answer
56 views
How to move calculations so only the calcs within a set amount of bars are used
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 ...
0 votes
1 answer
126 views
X type variable (REDEFINGED AS digit, with 'SIGN IS TRAILING SEPARATE') changed after execute "IF xxx NUMERIC"
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. ...
0 votes
0 answers
19 views
is my .htaccess if okay? i am unable to use directores in main domain
I have used following .htaccess file #remove .php from url RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/$ $1.php RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php RewriteCond %{...
1 vote
2 answers
60 views
Excel autofilter - doesn't find trailing 0s
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: ...
0 votes
1 answer
98 views
Automatically strip trailing whitespace when fetching data with `DBI::dbGetQuery()` in R?
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 ...
-3 votes
4 answers
1k views
T-SQL how to add trailing zeros to a string varchar [closed]
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 ...
2 votes
2 answers
66 views
Regex match items in list + trailing N numbers (Python)
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 ...
0 votes
1 answer
744 views
"Unexpected token" or "JSON parse error - trailing comma" when doing API call with PowerShell
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 = "...
0 votes
3 answers
2k views
How to "Fix" the ATR trailing stop in Pine Script
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 ...