Search found 5 matches

Go to advanced search

by elastic
Tue Aug 23, 2022 7:49 am
Forum: Pine Script Q&A
Topic: Buying if percentage of yesterdays range is hit...
Replies: 0
Views: 1913
 
Jump to post

Buying if percentage of yesterdays range is hit...

Hi, I have a simple thesis here - -calculate the previous days range : High minus the close -if todays bar exceeds a certain percentage of that range then open long during the day at that point -Stop loss is to be 50% of that range from entry -Exit/take profit is first profitable daily open after en...
by elastic
Tue Aug 23, 2022 7:47 am
Forum: Introductions
Topic: Hi!
Replies: 0
Views: 1797
 
Jump to post

Hi!

Hi all,

New to using pine script, watched most of Matthews videos already and learned so much. :cool:

Looking forward to getting stuck in in the forum and hopefully helping others as I progress too.

Thanks
by elastic
Sat Aug 13, 2022 10:52 am
Forum: Share Your Scripts
Topic: Entry / Exit PnL
Replies: 0
Views: 5494
 
Jump to post

Entry / Exit PnL

Hi, Not sure if this is even possible, but would it be possible on the chart to show how much you entered your position with upon entry and how much profit or loss there was in that trade when it has been exited on the chart? At the moment mine displays contracts, then when I go to BTC for example, ...
by elastic
Sat Aug 13, 2022 9:29 am
Forum: Share Your Scripts
Topic: Simple strategy issue...
Replies: 0
Views: 5366
 
Jump to post

Simple strategy issue...

Hi, I have coded a very simple strategy here, that is basically saying 'If the last 2 bars closed down then buy the next bar at the open and close/exit trade at the next close up bar' I feel my script is close but I just can't seem to get it on the chart. Any ideas what im missing to get this workin...
by elastic
Fri Aug 12, 2022 9:16 pm
Forum: Share Your Scripts
Topic: Offset issue....
Replies: 0
Views: 6054
 
Jump to post

Offset issue....

Hi, I've just made me first strategy script, super basic, got it just as I want it, but all entry and exit points need to be offset -1. I worked out it needs to be done in the plot section but just cannot figure out how to do it. Any help would really be appreciated, Many thanks E Apologies if I hav...

Go to advanced search