I have several issues and need your help.
1) I have copied part of code from SampleWPFModifications.cs(link: https://ninjatrader.com/support/foru...rations/page10) to my code to have buttons and textboxes in ChartTrader but it still draws it on chart and I don't know why.
2) I have created TextBoxes and I want to allow user to input there only numbers and use those numbers in algorithm. for example Difference textbox text is 10 then I want to place pending orders from price 10 pips above/below.
3) I am using ATM Strategy and with Buy and Sell buttons its works fine and opens Buy and Sell trades but I need also to be able to open BuyStop, SellStop, BuyLimit, SellLimit orders and I couldn't make it to work.
4) I need to be able to delete Pending orders with CancelPendingOrders button what I have created and also close all opened trades with CloseAnyOpenTrades button. I couldn't make it to work.
5) last thing is that I need BreakEven. BreakEven will set stoploss to PositionOpenPrice + ProfitLock for buy example.
I know I am asking many things but unfortunately I couldn't figure out those things and need your help.
will attach my full source code file.
waiting for your reply and thank you very much in advanced.
Comment