Search found 8 matches

Go to advanced search

by elcounto
Wed Oct 18, 2023 2:42 am
Forum: Pine Script Q&A
Topic: Resetting stop loss indicator
Replies: 6
Views: 8649
 
Jump to post

Re: Resetting stop loss indicator

Hey Steve, I got the script from Matts video on stop loss and copied it into a strat I had. Below is main body of the script. //plots - arrows and alerts longarrow = long ? 1 : na shortarrow = short ? -1 : na plotarrow(pla ? longarrow : na, colorup=color.new(color.aqua, 50)) plotarrow(pla ? shortarr...
by elcounto
Mon Oct 16, 2023 11:15 am
Forum: Pine Script Q&A
Topic: Resetting stop loss indicator
Replies: 6
Views: 8649
 
Jump to post

Resetting stop loss indicator

Hey, I've setup a trailing stop for my entries but it doesn't seem to reset after a new trade is executed. Below are my buy stop conditions. Any idea what I'm doing wrong? // Buy condition if short if TimeFilter strategy.entry(Long, strategy.long, comment=Buy Long, when = strategy.position_size <=0)...
by elcounto
Thu Feb 16, 2023 6:15 pm
Forum: Pine Script Q&A
Topic: RTH trading
Replies: 1
Views: 1002
 
Jump to post

RTH trading

Hey,

Is there a youtube video that details how to only take trades during certain times of the day like the RTH session and not overnight?

Thanks.
by elcounto
Sat Feb 11, 2023 12:49 am
Forum: Pine Script Q&A
Topic: Help with my first pine script
Replies: 8
Views: 6361
 
Jump to post

Re: Help with my first pine script

I've flipped the buy and sell conditions for this script and managed to get a 66% win rate from the start of the year which is pretty hot for the future ES. The only issue is if a trade goes against me it goes big time so I'm looking to add a stop lose of around .20% or $375. I've put in the below s...
by elcounto
Thu Feb 09, 2023 8:38 pm
Forum: Pine Script Q&A
Topic: Help with my first pine script
Replies: 8
Views: 6361
 
Jump to post

Re: Help with my first pine script

Ah great thanks for that it works fine now. Something I've noticed though is that it opens the trade on the start of the next candle. Is there anyway to open a trade when it actually alerts on the candle, or say when it moves a point in the correct direction?
by elcounto
Mon Feb 06, 2023 5:33 am
Forum: Pine Script Q&A
Topic: Help with my first pine script
Replies: 8
Views: 6361
 
Jump to post

Re: Help with my first pine script

Hi Steve, Thanks for taking the time out to reply. You were spot on with your recommendation. I've ran the script but it's not doing what I expected it to, the buy and sell conditions to align to the buy/sell arrows on the charts. I'm not sure what's gone wrong! https://www.linkpicture.com/q/hull-ma...
by elcounto
Sun Feb 05, 2023 11:29 pm
Forum: Pine Script Q&A
Topic: Help with my first pine script
Replies: 8
Views: 6361
 
Jump to post

Help with my first pine script

Hey all, My name is Phil and I've been trading for a little over a year now. I trade futures on the S&P500 e-mini using a prop firm. I've been using a Hull MA indicator and I find it quite useful in my trading. I'm trying to convert it to a strategy but can't get the buy and sell conditions to work....

Go to advanced search