NexusFi: Find Your Edge


Home Menu

 





short easy thinkorswim indicator to tradestation


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,392 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 13 posts
    2. attach_file 2 attachments




 
Search this Thread

short easy thinkorswim indicator to tradestation

  #1 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4

hi
i have thinkorwsim indicator and i would like to make it work in tradestation

input MyLevel = 188.87;
input Above = 2.25;
input Below = 2.25;

plot Level = MyLevel;

plot AboveLevel = MyLevel + Above;
plot BelowLevel = MyLevel - Below;

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #3 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102



yamin2000 View Post
hi
i have thinkorwsim indicator and i would like to make it work in tradestation

input MyLevel = 188.87;
input Above = 2.25;
input Below = 2.25;

plot Level = MyLevel;

plot AboveLevel = MyLevel + Above;
plot BelowLevel = MyLevel - Below;

What is the code actually doing? tell me or send me a screenshot and I Can get it

Reply With Quote
Thanked by:
  #4 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4


numberjuani View Post
What is the code actually doing? tell me or send me a screenshot and I Can get it

I use it for quarter theory. It draws horzintal line for the price I set and then another 2 line one top and bottom for specifc amount I set as well

Reply With Quote
  #5 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102


yamin2000 View Post
I use it for quarter theory. It draws horzintal line for the price I set and then another 2 line one top and bottom for specifc amount I set as well

Inputs:
MainPrice(3000),
BelowOffset(10),
AboveOffset(10),
MainLineColor(White),
LineBelowColor(Red),
LineAboveColor(Green);

Variables:
LineAbove(0), LineBelow(0);

LineAbove = MainPrice + AboveOffset;
LineBelow = MainPrice - BelowOffset;

Plot1(MainPrice, "My Price", MainLineColor);
Plot2(LineAbove, "Line Above", LineAboveColor);
Plot3(LineBelow, "Line Below", LineBelowColor);

Attached Files
Elite Membership required to download: LINES.ELD
Reply With Quote
Thanked by:
  #6 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4


numberjuani View Post
Inputs:
MainPrice(3000),
BelowOffset(10),
AboveOffset(10),
MainLineColor(White),
LineBelowColor(Red),
LineAboveColor(Green);

Variables:
LineAbove(0), LineBelow(0);

LineAbove = MainPrice + AboveOffset;
LineBelow = MainPrice - BelowOffset;

Plot1(MainPrice, "My Price", MainLineColor);
Plot2(LineAbove, "Line Above", LineAboveColor);
Plot3(LineBelow, "Line Below", LineBelowColor);

[IMG] [img]https://i.ibb.co/R0stCL5/fo.png[/img][/IMG]

thanks for the help i thought its easy script .
this what i get it attached to the bottom of the chart

Reply With Quote
  #7 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4


yamin2000 View Post
[IMG] [img]https://i.ibb.co/R0stCL5/fo.png[/img][/IMG]

thanks for the help i thought its easy script .
this what i get it attached to the bottom of the chart

if ix it it was histogram

Reply With Quote
  #8 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102



yamin2000 View Post
if ix it it was histogram

yes so to fix that you need to edit the indicator and under scaling make it "same axis as underlying data" and thatll fix that

Reply With Quote
Thanked by:
  #9 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4


numberjuani View Post



yes so to fix that you need to edit the indicator and under scaling make it "same axis as underlying data" and thatll fix that

one more request if you do not mind ,is possible to make it draw full lines top and bottoms in same sequence

see attached

[img]https://i.ibb.co/GJJ2qbB/33.png[/img]


this thinkandswim script

input MyLevel = 188.87;
input Above = 1.70;
input Below = 1.70;

plot Level = MyLevel;

plot AboveLevel = MyLevel + Above;
plot BelowLevel = MyLevel - Below;



plot AboveLeve2 = MyLevel + Above * 2;
plot AboveLeve3 = MyLevel + Above * 3;
plot AboveLeve4 = MyLevel + Above * 4;
plot AboveLeve5 = MyLevel + Above * 5;
plot AboveLeve6 = MyLevel + Above * 6;
plot AboveLeve7 = MyLevel + Above * 7;
plot AboveLeve8 = MyLevel + Above * 8;
plot AboveLeve9 = MyLevel + Above * 9;
plot AboveLeve10 = MyLevel + Above * 10;
plot AboveLeve11 = MyLevel + Above * 11;
plot AboveLeve12 = MyLevel + Above * 12;
plot AboveLeve13 = MyLevel + Above * 13;
plot AboveLeve14 = MyLevel + Above * 14;
plot AboveLeve15 = MyLevel + Above * 15;
plot AboveLeve16 = MyLevel + Above * 16;
plot AboveLeve17 = MyLevel + Above * 17;
plot AboveLeve18 = MyLevel + Above * 18;
plot AboveLeve19 = MyLevel + Above * 19;

plot BelowLeve2 = MyLevel - Above * 2;
plot BelowLeve3 = MyLevel - Above * 3;
plot BelowLeve4 = MyLevel - Above * 4;
plot BelowLeve5 = MyLevel - Above * 5;
plot BelowLeve6 = MyLevel - Above * 6;
plot BelowLeve7 = MyLevel - Above * 7;
plot BelowLeve8 = MyLevel - Above * 8;
plot BelowLeve9 = MyLevel - Above * 9;
plot BelowLeve10 = MyLevel - Above * 10;
plot Beloweve11 = MyLevel - Above * 11;
plot BelowLeve12 = MyLevel - Above * 12;
plot BelowLeve13 = MyLevel - Above * 13;
plot BelowLeve14 = MyLevel - Above * 14;
plot BelowLeve15 = MyLevel - Above * 15;
plot BelowLeve16 = MyLevel - Above * 16;
plot BelowLeve17 = MyLevel - Above * 17;
plot BelowLeve18 = MyLevel - Above * 18;
plot BelowLeve19 = MyLevel - Above * 19;

Reply With Quote
  #10 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102



yamin2000 View Post
one more request if you do not mind ,is possible to make it draw full lines top and bottoms in same sequence

see attached

[img]https://i.ibb.co/GJJ2qbB/33.png[/img]


this thinkandswim script

input MyLevel = 188.87;
input Above = 1.70;
input Below = 1.70;

plot Level = MyLevel;

plot AboveLevel = MyLevel + Above;
plot BelowLevel = MyLevel - Below;



plot AboveLeve2 = MyLevel + Above * 2;
plot AboveLeve3 = MyLevel + Above * 3;
plot AboveLeve4 = MyLevel + Above * 4;
plot AboveLeve5 = MyLevel + Above * 5;
plot AboveLeve6 = MyLevel + Above * 6;
plot AboveLeve7 = MyLevel + Above * 7;
plot AboveLeve8 = MyLevel + Above * 8;
plot AboveLeve9 = MyLevel + Above * 9;
plot AboveLeve10 = MyLevel + Above * 10;
plot AboveLeve11 = MyLevel + Above * 11;
plot AboveLeve12 = MyLevel + Above * 12;
plot AboveLeve13 = MyLevel + Above * 13;
plot AboveLeve14 = MyLevel + Above * 14;
plot AboveLeve15 = MyLevel + Above * 15;
plot AboveLeve16 = MyLevel + Above * 16;
plot AboveLeve17 = MyLevel + Above * 17;
plot AboveLeve18 = MyLevel + Above * 18;
plot AboveLeve19 = MyLevel + Above * 19;

plot BelowLeve2 = MyLevel - Above * 2;
plot BelowLeve3 = MyLevel - Above * 3;
plot BelowLeve4 = MyLevel - Above * 4;
plot BelowLeve5 = MyLevel - Above * 5;
plot BelowLeve6 = MyLevel - Above * 6;
plot BelowLeve7 = MyLevel - Above * 7;
plot BelowLeve8 = MyLevel - Above * 8;
plot BelowLeve9 = MyLevel - Above * 9;
plot BelowLeve10 = MyLevel - Above * 10;
plot Beloweve11 = MyLevel - Above * 11;
plot BelowLeve12 = MyLevel - Above * 12;
plot BelowLeve13 = MyLevel - Above * 13;
plot BelowLeve14 = MyLevel - Above * 14;
plot BelowLeve15 = MyLevel - Above * 15;
plot BelowLeve16 = MyLevel - Above * 16;
plot BelowLeve17 = MyLevel - Above * 17;
plot BelowLeve18 = MyLevel - Above * 18;
plot BelowLeve19 = MyLevel - Above * 19;

thats too much work for a freebie but you should be able to modify the code I Sent you and get it done, it works the same as thinksrcipt just keep creating Plots and changing the number Plot1, Plot2, Plot3 you get up to Plot99. If you want me to code it DM me and we can come up with a fee

Reply With Quote
Thanked by:




Last Updated on November 16, 2019


© 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
no new posts