Skip to content

Commit

Permalink
Added onLossShort and onLossLong events
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardo-marinho authored Nov 12, 2021
1 parent 45798f5 commit 1fbbed7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Expert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ The CExpert class is a set of virtual methods for implementation of trading stra
| OnClose | Event called on Close method |
| OnCheckCloseCondition| Event called on CheckCloseCondition method |
| OnLoss | Event called ater Close method if profit is lower than 0 |
| OnLossShort | Event called ater Close method if profit is lower than 0 on a short position|
| OnLossLong | Event called ater Close method if profit is lower than 0 on a long position |
| OnProfit | Event called ater Close method if profit is higher than 0 |
| OnNewBar | Event called when a new bar is detected |
| OnNewDay | Event called on first bar of every day |
Expand Down

0 comments on commit 1fbbed7

Please sign in to comment.