Search found 96 matches

Go to advanced search

by Steve Burman
Thu Dec 07, 2023 10:00 pm
Forum: Pine Script Q&A
Topic: Is there a Limit of candles data for ta.highest ?
Replies: 2
Views: 5954
 
Jump to post

Re: Is there a Limit of candles data for ta.highest ?

If you are on Premium or above (there is no Professional plan) then there is a limit of historical data access of 20,000 candles. I suggest you go to the Help Centre on your TV menu and lodge a support ticket to TV for help on this.
by Steve Burman
Sat Dec 02, 2023 7:24 am
Forum: Pine Script Q&A
Topic: Applying Trailing Stop Indicator to STrategy
Replies: 4
Views: 57131
 
Jump to post

Re: Applying Trailing Stop Indicator to STrategy

Bmaloney, I'm having a challenging time on this script. For some reason the changes I made aren't working although logically they should be. This happens from time to time when programming!
by Steve Burman
Mon Nov 27, 2023 5:50 am
Forum: Pine Script Q&A
Topic: Applying Trailing Stop Indicator to STrategy
Replies: 4
Views: 57131
 
Jump to post

Re: Applying Trailing Stop Indicator to STrategy

No worries, I'll check it out shortly when I can
by Steve Burman
Mon Nov 27, 2023 1:16 am
Forum: Pine Script Q&A
Topic: Resetting stop loss indicator
Replies: 6
Views: 7792
 
Jump to post

Re: Resetting stop loss indicator

Bmaloney please post this under your own post and I'll look into this.
by Steve Burman
Mon Nov 27, 2023 1:04 am
Forum: Pine Script Q&A
Topic: No Trades executed
Replies: 1
Views: 3341
 
Jump to post

Re: No Trades executed

Hi Marc,

I had no problem at all with the code you sent. Were there any error messages? Here's the output

Image
by Steve Burman
Mon Nov 13, 2023 4:17 am
Forum: Pine Script Q&A
Topic: Calculating a 30 minute ema & candle via code in a 3 minute chart
Replies: 1
Views: 3346
 
Jump to post

Re: Calculating a 30 minute ema & candle via code in a 3 minute chart

Hey Rox2Metal, have you looked at request.security() and request.security_lower_tf() functions. I'm not sure if these will give you the answer you need but worth looking into. Here's the references. https://www.tradingview.com/pine-script-reference/v5/#fun_request.security https://www.tradingview.co...
by Steve Burman
Mon Nov 13, 2023 4:07 am
Forum: Pine Script Q&A
Topic: could not find method for method reference 'is bullishEC' for zen (I'm struggling on the first mastery video) thanks
Replies: 1
Views: 3956
 
Jump to post

Re: could not find method for method reference 'is bullishEC' for zen (I'm struggling on the first mastery video) thanks

Roy everything is case sensitive. You need to make sure you capitalise where it is needed. Usually Matt uses lowercase on the 1st part of a variable and Capital on the 1st letter of the subsequent parts. The fix to this is as follows:

bullEC = zen.isBullishEC()
bearEC = zen.isBearishEC()
by Steve Burman
Thu Nov 09, 2023 5:21 am
Forum: Pine Script Q&A
Topic: Multiple Trades (multiple TP/SL)
Replies: 1
Views: 3047
 
Jump to post

Re: Multiple Trades (multiple TP/SL)

If you've got a long trade and before it takes profit or stopped out the price reverts and you get a sell signal, why would you want to keep the original trade going and respecting the original take profit and stop loss levels?
by Steve Burman
Thu Nov 09, 2023 5:13 am
Forum: Pine Script Q&A
Topic: Script Not Picking Up Any Commands
Replies: 1
Views: 3025
 
Jump to post

Re: Script Not Picking Up Any Commands

Can you share it here please
by Steve Burman
Thu Nov 09, 2023 5:12 am
Forum: Pine Script Q&A
Topic: get a time @ date input
Replies: 2
Views: 4654
 
Jump to post

Re: get a time @ date input

Try using a colon rather than a period for the timestamp

inputtime=input.time(title="time", defval=timestamp("01 Jan 2000 13:30 +0000"))

Go to advanced search