Search found 3 matches

Go to advanced search

by Django
Fri Jul 16, 2021 3:08 am
Forum: Pine Script Q&A
Topic: Exit not working
Replies: 2
Views: 2471
 
Jump to post

Re: Exit not working

There's an update on this, I am running this strategy that includes 2 types of exits, a stop loss and a trailing stop. I am trying to take advantage of the FIFO execution order which is the default in TradingView, however, under certain circumstances both the stop loss and the trailing stop will be ...
by Django
Mon Jul 12, 2021 7:21 am
Forum: Pine Script Q&A
Topic: Exit not working
Replies: 2
Views: 2471
 
Jump to post

Exit not working

Hi folks, after a ridiculous amount of attempts seems that I have managed to find the right order for the entry and exits, however, I still have an issue with the strategy.order. When backtesting, if a trade is closed with a SL order, even though that should bring the strategy.position_size to 0 and...
by Django
Mon Jul 12, 2021 2:42 am
Forum: Introductions
Topic: Hi everyone
Replies: 0
Views: 1243
 
Jump to post

Hi everyone

Hi there, just a newbie Pine Script learner trying to figure out how to do things

Go to advanced search