Pivot points on mobile

cocojumbo

Member
Plus
Does anyone know of traditional pivot points indicator that works with the mobile app?
 
Last edited by a moderator:
Solution
I've gotten pivot lines working perfectly in the desktop, but they don't work on mobile. I was hoping someone could help. I have found the following one that is very close but the calculations aren't what I want and when I try to modify them it doesn't work. I'm not good at coding. Any help would be appreciated!
@Jerald643
Here is the only Pivots Indicator for Mobile on this forum.
https://usethinkscript.com/threads/fractal-pivot-strategy-mobile-by-mobius.2547/
Perhaps some of the logic will aid you in your quest.

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

I've gotten pivot lines working perfectly in the desktop, but they don't work on mobile. I was hoping someone could help. I have found the following one that is very close but the calculations aren't what I want and when I try to modify them it doesn't work. I'm not good at coding. Any help would be appreciated!

Code:
# SVE Piovots for Mobile
# Mobius
# V01.03.2022
def x = barNumber();
def nan = double.nan;
def h = high;
def l = low;
def c = close;
def day = getYYYYMMDD();
def today = if(day != day[1], x, today[1]);
def day2 = if(today != today[1], today[1], day2[1]);
def PH = if(x == highestAll(day2), h,
if(between(x, HighestAll(day2), highestAll(today)) and h > PH[1], h, PH[1]));
def PH1 = if isNaN(PH) then PH1[1] else PH;
def PL = if(x == highestAll(day2), l,
if(between(x, HighestAll(day2), highestAll(today)) and l < PL[1], l, PL[1]));
def PC = if(x == highestAll(today), c[1], PC[1]);
plot HH = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PH, nan)), nan);
plot LL = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PL, nan)), nan);
plot PP = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), (PH + PL + PC) / 3, nan)), nan);
plot R1 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - PL, nan)), nan);
plot R2 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PP + (PH - PL), nan)), nan);
plot R3 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP + (PH - 2 * PL), nan)), nan);
plot S1 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - PH, nan)), nan);
plot S2 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), PP - (PH - PL), nan)), nan);
plot S3 = if(x >= highestAll(today), highestAll(if(isNaN(c[-1]), 2 * PP - (2 * PH - PL), nan)), nan);
R3.SetDefaultColor(GetColor(5));
R2.SetDefaultColor(GetColor(5));
R1.SetDefaultColor(GetColor(5));
HH.SetDefaultColor(GetColor(5));
PP.SetDefaultColor(GetColor(1));
LL.SetDefaultColor(GetColor(6));
S1.SetDefaultColor(GetColor(6));
S2.SetDefaultColor(GetColor(6));
S3.SetDefaultColor(GetColor(6));
# End Code
 
I've gotten pivot lines working perfectly in the desktop, but they don't work on mobile. I was hoping someone could help. I have found the following one that is very close but the calculations aren't what I want and when I try to modify them it doesn't work. I'm not good at coding. Any help would be appreciated!
@Jerald643
Here is the only Pivots Indicator for Mobile on this forum.
https://usethinkscript.com/threads/fractal-pivot-strategy-mobile-by-mobius.2547/
Perhaps some of the logic will aid you in your quest.
 
Last edited:
Solution
The ToS Pivot Points is a locked code.
ToS does not provide the ability to edit it into a mobile friendly version.
Moved your post here, so you can benefit from other member's similar quest.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
493 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top