- Search Forex Factory
- 5 Results
- iPlaton replied Jan 8, 2016
this is your code with error : if(Direction != PrevDirection) { if (Direction == Down && UseSwingLowOrHigh == 1) StopLossPrice = iHighest(NULL,0,MODE_HIGH,10,1) + Ask - Bid; if (Direction == Up && UseSwingLowOrHigh == 1) StopLossPrice = ...
- iPlaton replied Jan 8, 2016
Thanks Dave, I only error that I see: int iHighest(NULL,0,MODE_HIGH,10,1) // shift and double iHigh(NULL,0,iHighest(NULL,0,MODE_HIGH,10,1)) // price
- iPlaton replied Jan 8, 2016
Hi Dave_C , if(Direction != PrevDirection) { if (Direction == Down && UseSwingLowOrHigh == 1) StopLossPrice = iHigh(NULL,0,iHighest(NULL,0,MODE_HIGH,10,1)) + Ask - Bid; if (Direction == Up && UseSwingLowOrHigh == 1) StopLossPrice = ...
- iPlaton replied Jan 4, 2016
Hi Dave C, why not use simple calculations lot size ? //+------------------------------------------------------------------+ //| Calculate optimal lot size | //+------------------------------------------------------------------+ double ...
- iPlaton replied Jan 4, 2016
Hi Dave C, datetime LastDateTime=0; //+------------------------------------------------------------------+ //| Start function | //+------------------------------------------------------------------+ void start() { CalculateCurrentOrders(); if ...
- Posts by Member Search: 'iPlaton'