NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: mtzimmer1
Forum: ThinkOrSwim September 11th, 2019, 09:25 PM
Replies: 12
Views: 4,433
Posted By mtzimmer1
Coding horizontal line at specific bar

It’s not going to run on a daily chart.

I’m sure there is a way to do exactly what you’re looking for, I am just not sure how to do it!
Forum: ThinkOrSwim September 10th, 2019, 09:15 PM
Replies: 12
Views: 4,433
Posted By mtzimmer1
This works but its not pretty.....

Hey man, this DOES work but it is not pretty. You need to enter periodstarttime as the first 1 minute bar that prints in the pre-market trading hours. Also the periodendtime as the periodstarttime +...
Forum: ThinkOrSwim September 10th, 2019, 11:46 AM
Replies: 12
Views: 4,433
Posted By mtzimmer1
Hey I'll get the code up and working tonight...

Hey I'll get the code up and working tonight after work. Should be a quick fix!
Forum: ThinkOrSwim September 9th, 2019, 09:09 PM
Replies: 12
Views: 4,433
Posted By mtzimmer1
It is great practice for me as a novice coder!...

It is great practice for me as a novice coder! Try this out and tell me if it takes or not.



def C = close;

plot closingprice = if secondsfromtime(1605)<=0 and secondstilltime(1605)>=0 then...
Forum: ThinkOrSwim September 9th, 2019, 08:48 PM
Replies: 12
Views: 4,433
Posted By mtzimmer1
Coding horizontal line at specific bar

Right... ya need another “else” after the “else if” in case neither of the aforementioned conditions are met. Adding an “else double.nan” at the end of the string would resolve it I think?
Forum: ThinkOrSwim September 9th, 2019, 07:40 PM
Replies: 12
Views: 4,433
Posted By mtzimmer1
It is going to be something like: def C =...

It is going to be something like:

def C = close;
plot closingprice = if secondsfromtime(1605)<=0 and secondstilltime(1605)>=0 then C else if secondsfromtime(1605)>0 then c[1];

I am not sure if...
Showing results 1 to 6 of 6

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top