Creating a trading system from scratch

How many lines of code you are comfortable with


  • Total voters
    61
master pivot point and associated support and resistance levels are calculated by using the last trading session’s open, high, low, and close. so we have this data already available,example is not that:D good
,15 min TF we want price to close above vwap some buying strength,color used to highlight area of interest is black circle,looking for rsi below 30 we become active when it crosses 30 from below,sl is just low of first green candle target is some points below r1 and profit is trailed at pivot p,and viceversa at rsi 70,what is important is price respecting pivots rest is for fun
 
Last edited:

UberMachine

Well-Known Member
master pivot point and associated support and resistance levels are calculated by using the last trading session’s open, high, low, and close. so we have this data already available,example is not that:D good
,15 min TF we want price to close above vwap some buying strength,color used to highlight area of interest is black circle,looking for rsi below 30 we become active when it crosses 30 from below,sl is just low of first green candle target is some points below r1 and profit is trailed at pivot p

View attachment 30681
Think this could already be simulated with fasbt. One drawback is that you close by the end of the day. But if you turn positive for the strategy, you are going to fare better.
 

VJAY

Well-Known Member
10% is Ok as long as you have a profitable strategy.
The main thing is the drawdown.
To quick get your drawdown, you could use the cumsum function.
Can you pls give this function ot its eralier shared?
 

UberMachine

Well-Known Member
Can you pls give this function ot its eralier shared?
Pyfolio is preferred
but to do a quick check
Python:
cumulative = orders.groupby('timestamp').net_profit.cumsum()

drawdown = cumulative.max() - cumulative.min()
Divide by capital to the get the drawdown. This formula is not exact but is more safe since I reduce the maximum from minimum for the whole time period
 

Similar threads